PHP Class Horde_Form_Type_enum, horde

Inheritance: extends Horde_Form_Type
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$_prompt
$_values

Public Methods

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 )

Method Details

about() public method

Return info about field type.
public about ( )

getPrompt() public method

public getPrompt ( )

getValues() public method

public getValues ( )

init() public method

Initialize (kind of constructor)
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.

isValid() public method

public isValid ( &$var, &$vars, $value, &$message )

setValues() public method

public setValues ( $values )

Property Details

$_prompt public_oe property

public $_prompt

$_values public_oe property

public $_values