Метод | Описание | |
---|---|---|
__construct ( ) | ||
getById ( $id ) | we should prevent editing menus via this controller | |
recursiveRead ( $list, $pid, array $titles ) | ||
recursive_read_menu ( $menus, $pages, &$list, $menuId ) | ||
utf8_validation ( &$item ) |
Метод | Описание | |
---|---|---|
_alterDbTable ( array $fieldData ) | ||
_assignValues ( &$iaView, array &$entryData ) | ||
_entryAdd ( array $entryData ) | ||
_entryDelete ( $entryId ) | ||
_entryUpdate ( array $entryData, $entryId ) | ||
_gridQuery ( $columns, $where, $order, $start, $limit ) | ||
_gridRead ( $params ) | ||
_htmlAction ( &$iaView ) | Custom item fields support | |
_indexPage ( &$iaView ) | ||
_jsonAction ( &$iaView ) | ||
_modifyGridParams ( &$conditions, &$values ) | ||
_modifyGridParams ( &$conditions, &$values, array $params ) | ||
_modifyGridResult ( array &$entries ) | ||
_postSaveEntry ( array $entry, array $data, $action ) | ||
_preSaveEntry ( array &$entry, array $data, $action ) | ||
_resetRelations ( $name, $item ) | ||
_saveTags ( $tagsString ) | ||
_setChildren ( $name, $item, $values, $children = [] ) | ||
_setDefaultValues ( array &$entry ) | ||
_setPageTitle ( &$iaView ) | ||
_setPageTitle ( &$iaView, array $entryData, $action ) | ||
_setPagesList ( $fieldId, array $pages, $extras = '' ) | ||
_setRelations ( ) |
Метод | Описание | |
---|---|---|
_dbColumnExists ( $itemName, $columnName ) | ||
_getJsonPlugins ( ) | ||
_getJsonUrl ( array $params ) | ||
_getPages ( ) | ||
_getPagesList ( $languageCode ) | ||
_getParents ( $name ) | ||
_getPermissionsInfo ( $settings, $userPermissions, $custom ) | ||
_getPositions ( ) | ||
_getSettings ( ) | ||
_insert ( array $fieldData ) | ||
_list ( &$iaView ) | ||
_listMembers ( ) | ||
_listUsergroups ( ) | ||
_massUpdateAlias ( $previous, $new, $entryId ) | ||
_parseTreeNodes ( $nodesFlatData ) | ||
_previewPage ( $action ) | ||
_saveMenus ( $entryName, $menus ) | ||
_setParents ( $name, $parents = [] ) | ||
_update ( array $fieldData, $id ) |
protected _assignValues ( &$iaView, array &$entryData ) | ||
$entryData | array |
protected _entryUpdate ( array $entryData, $entryId ) | ||
$entryData | array |
protected _htmlAction ( &$iaView ) | ||
$iaView |
protected _modifyGridParams ( &$conditions, &$values, array $params ) | ||
$params | array |
protected _postSaveEntry ( array $entry, array $data, $action ) | ||
$entry | array | |
$data | array |
protected _preSaveEntry ( array &$entry, array $data, $action ) | ||
$entry | array | |
$data | array |
protected _setPageTitle ( &$iaView, array $entryData, $action ) | ||
$entryData | array |
protected _setPagesList ( $fieldId, array $pages, $extras = '' ) | ||
$pages | array |
public getById ( $id ) |