You appear to be a bot. Output may be restricted
Description
Create a select for an array options field
Usage
BW_::bw_select_arr( $name, $text, $array, $index, $args );
Parameters
- $name
- ( string ) required – field name
- $text
- ( string ) required – field label
- $array
- ( array ) required –
- $index
- ( integer ) required –
- $args
- ( array ) required –
Returns
voidSource
File name: oik-bwtrace/libs/class-BW-.phpLines:
1 to 5 of 5
static function bw_select_arr( $name, $text, $array, $index, $args ) { $name_index = $name.'['.$index.']'; $value = bw_array_get( $array, $index, NULL ); BW_::bw_select( $name_index, $text, $value, $args ); }View on GitHub View on Trac