Свойство | Type | Description | |
---|---|---|---|
$default_empty_text | default empty text message | ||
$empty_text | current empty text message and ID | ||
$value_list | array of available values |
Свойство | Type | Description | |
---|---|---|---|
$empty_value | |||
$separator | value separator, for internal use |
Méthode | Description | |
---|---|---|
getValueList ( ) : array | Return value list. | |
normalize ( ) | Normalize POSTed data. | |
setEmptyText ( string $text = null ) | Sets default text which is displayed on a null-value option. | |
setForm ( $form ) | ||
setModel ( Model $m ) : Model | Sets model of form field. | |
setValueList ( array $list ) | Set value list of form field. | |
validateValidItem ( ) : boolean | Validate POSTed field value. |
public setEmptyText ( string $text = null ) | ||
$text | string | Pass null to use default text, empty string - disable |
public setModel ( Model $m ) : Model | ||
$m | Model | |
Résultat | Model |
public setValueList ( array $list ) | ||
$list | array |
public validateValidItem ( ) : boolean | ||
Résultat | boolean |