You appear to be a bot. Output may be restricted
Description
Form a text field
Usage
BW_::bw_textfield( $name, $len, $text, $value, $class, $extras, $args );
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
- $args
- ( array ) optional – even more options
Returns
voidTO DO
accept array so that #hint can be applied 2014/11/28Source
File name: oik-bwtrace/libs/class-BW-.phpLines:
1 to 9 of 9
static function bw_textfield( $name, $len, $text, $value, $class=null, $extras=null, $args=null ) { $lab = self::label( $name, $text ); if ( $value === null ) { $value = bw_array_get( $_REQUEST, $name, null ); } $itext = itext( $name, $len, $value, $class, $extras, $args ); bw_tablerow( array( $lab, $itext ) ); return; }View on GitHub View on Trac