You appear to be a bot. Output may be restricted
Description
Form an "email" field
Usage
bw_emailfield( $name, $len, $text, $value, $class, $extras );
Parameters
- $name
- ( string ) required – the name of the field
- $len
- ( integer ) required – the length of the field
- $text
- ( string ) required – the label for the field
- $value
- ( string ) required – the value of the field
- $class
- ( string ) optional – CSS class name
- $extras
- ( string ) optional – the extras passed to itext() is expected to be a string
Returns
voidSource
File name: oik-bwtrace/libs/bobbforms.phpLines:
1 to 9 of 9
function bw_emailfield( $name, $len, $text, $value, $class=null, $extras=null ) { $lab = label( $name, $text ); if ( $value === null ) { $value = bw_array_get( $_REQUEST, $name, null ); } $itext = iemail( $name, $len, $value, $class, $extras ); bw_tablerow( array( $lab, $itext ) ); return; }View on GitHub View on Trac