Description
bw_form_field_email – formatting for an email entry field
Usage
bw_form_field_email( $name, $type, $title, $value, $args );Parameters
- $name
- ( string ) required – Field name
- $type
- ( string ) required – Field type
- $title
- ( string ) required – Field label – l10n'ed
- $value
- ( string ) required – Field value
- $args
- ( array ) required – a load of options
Returns
voidSource
File name: oik/includes/bw_metadata.phpLines:
1 to 7 of 7
function bw_form_field_email( $name, $type, $title, $value, $args ) { $length = bw_array_get( $args, '#length', 40 ); $value = bw_default_value( $value, $args ); $class = bw_array_get( $args, "#class", null ); $extras = bw_array_get( $args, "#extras", null ); BW_::bw_emailfield( $name, $length, $title, $value, $class, $extras ); }View on GitHub View on Trac
Invoked by
Calls
1 to 3 of 3
