Версия: 6.x
burger close
Класс CheckboxVariableListField
Граф наследования:CheckboxVariableListField:
AbstractVariableListField

Открытые члены

 __construct ($name, $column_title, $on_value=1)
 
 getElementHtml ($field_name, $row_index= '%index%', $value=null)
 
- Открытые члены унаследованные от AbstractVariableListField
 __construct ($name, $column_title)
 
 getName ()
 
 getColumnTitle ()
 
 setArrayWrap ($name)
 
 getArrayWrap ()
 
 setAttributes ($key_value)
 
 getAttributes ()
 
 getAttributesInline ()
 
 getElementHtml ($field_name, $row_index= '%index%', $value=null)
 

Защищенные данные

 $on_value
 
- Защищенные данные унаследованные от AbstractVariableListField
 $name
 
 $column_title
 
 $array_wrap
 

Дополнительные унаследованные члены

- Защищенные члены унаследованные от AbstractVariableListField
 wrapField ($field_name)
 

Конструктор(ы)

__construct (   $name,
  $column_title,
  $on_value = 1 
)

SelectVariableListField constructor.

Аргументы
string$name- атрибут name поля
string$column_title- название колонки
string[]$first_list - изначальный список значений
callable$list- функция для полученя список значений

Методы

getElementHtml (   $field_name,
  $row_index = '%index%',
  $value = null 
)

Возвращает html элемента

Аргументы
string$field_name- имя ORM поля
string$row_index- индекс строки в таблице
mixed$value- значение
Возвращает
string

Поля

$on_value
protected