Тип колонки - действия со строкой данных.
Открытые члены | |
| __construct ($field, array $actions, $property=null) | |
| setAutoWidth () | |
| setActions (array $actions) | |
| addAction (Action\AbstractAction $action, $position=null) | |
| removeAction ($position) | |
| getActions () | |
| getLineAttr (Action\AbstractAction $action, $index= 'attr') | |
| __clone () | |
Открытые члены унаследованные от AbstractType | |
| __construct ($field, $title=null, $property=null) | |
| _init () | |
| isCustomizable () | |
| isStayBefore () | |
| setStayBefore ($bool) | |
| setHidden ($bool) | |
| isHidden () | |
| setHref ($href) | |
| setSortable ($sortable) | |
| setCurrentSort ($sort) | |
| getField () | |
| setRow ($row) | |
| getRow ($key=null) | |
| setTitle ($title) | |
| setValue ($value) | |
| setTdAttr ($attributes) | |
| setThAttr ($attributes) | |
| getTitle () | |
| getValue () | |
| getCellAttr () | |
| getAttr (array $concat_arr, $source=null) | |
| getThAttr () | |
| getTdAttr () | |
| setAttrCallback ($callback) | |
| getHref ($href_pattern=null) | |
| getLinkAttr () | |
| setLinkAttr (array $link_attributes) | |
| getHeadTemplate () | |
| setHeadTemplate ($template) | |
| getBodyTemplate () | |
| setBodyTemplate ($template) | |
| getHead () | |
| setContainer ($container) | |
| getContainer () | |
| onSetData ($data) | |
| modificateSortQuery (Request $q) | |
| canModificateSortQuery () | |
Поля данных | |
| const | AUTO_WIDTH = 22 |
| $property | |
| $head_template = 'system/admin/html_elements/table/coltype/actions_head.tpl' | |
| $body_template = 'system/admin/html_elements/table/coltype/actions.tpl' | |
Поля данных унаследованные от AbstractType | |
| $property = [] | |
| $sorturl | |
| $can_modificate_query = false | |
| $option_prefixes = ['set', 'add'] | |
| $field | |
| $row | |
| $title | |
| $attr_callback | |
| $stay_before = false | |
| $value | |
| $body_template = '' | |
Защищенные данные | |
| $actions = [] | |
Защищенные данные унаследованные от AbstractType | |
| $container | |
| $head_template = 'system/admin/html_elements/table/coltype/strhead.tpl' | |
Дополнительные унаследованные члены | |
Защищенные члены унаследованные от AbstractType | |
| abstractGetAttr ($index, array $concat_arr=[], $source=null) | |
| replaceCallback ($matches) | |
| __construct | ( | $field, | |
| array | $actions, | ||
$property = null |
|||
| ) |
| __clone | ( | ) |
| addAction | ( | Action\AbstractAction | $action, |
$position = null |
|||
| ) |
Добавить объект действия
| Action\AbstractAction | $action | - добавляемое действие |
| int | $position | - позиция в списке, если не указана - действие будет добавлено в конец |
| getActions | ( | ) |
Возвращает список объектов действий
| getLineAttr | ( | Action\AbstractAction | $action, |
$index = 'attr' |
|||
| ) |
| removeAction | ( | $position | ) |
Удаляет действие
| integer | $position | - порядковый номер действия |
| setActions | ( | array | $actions | ) |
Добавить список действий, которые можно произвести со строкой
| array | $actions |
| setAutoWidth | ( | ) |
|
protected |
| $body_template = 'system/admin/html_elements/table/coltype/actions.tpl' |
| $head_template = 'system/admin/html_elements/table/coltype/actions_head.tpl' |
| $property |
| const AUTO_WIDTH = 22 |