Property | Type | Description | |
---|---|---|---|
$_prompt | |||
$_values |
Method | Description | |
---|---|---|
about ( ) | Return info about field type. | |
getPrompt ( ) | ||
getValues ( ) | ||
init ( array $values, string | boolean $prompt = null ) | Initialize (kind of constructor) | |
isValid ( &$var, &$vars, $value, &$message ) | ||
setValues ( $values ) |
public init ( array $values, string | boolean $prompt = null ) | ||
$values | array | A hash map where the key is the internal 'value' to process and the value is the caption presented to the user |
$prompt | string | boolean | A null value text to prompt user selecting a value. Use a default if boolean true, else use the supplied string. No prompt on false. |