Свойство | Тип | Описание | |
---|---|---|---|
$_name | |||
$_value | |||
$attributes | |||
$helpBlock | |||
$label | |||
$model | show help block or not | ||
$options | element type: select, input, textarea | ||
$type | model to be bound | ||
$useOptionKeysForValues | only for select element |
Метод | Описание | |
---|---|---|
__call ( $attr, $args = null ) | ||
__get ( $property ) | ||
__set ( $property, $value ) | ||
attributes ( $value = null ) | ||
input ( $name, $type = 'text' ) | only for select element | |
select ( $name, $options, $useOptionKeysForValues = false ) | ||
show ( ) | ||
textarea ( $name ) |
Метод | Описание | |
---|---|---|
createElement ( $name, $type ) | ||
setValue ( ) | ||
showInput ( ) | ||
showSelect ( ) | ||
showTextarea ( ) |
public static input ( $name, $type = 'text' ) |
public static select ( $name, $options, $useOptionKeysForValues = false ) |