PHP Class iaBackendController

Inheritance: extends iaAbstractControllerBackend
ファイルを表示 Open project: intelliants/subrion Class Usage Examples

Protected Properties

Property Type Description
$_gridColumns
$_gridFilters
$_gridQueryMainTableAlias
$_name
$_permissionsEdit
$_phraseAddSuccess
$_phraseGridEntriesDeleted
$_phraseGridEntryDeleted
$_pluginName
$_processAdd
$_processEdit
$_table
$_tableBlogEntriesTags
$_tableBlogTags
$_tooltipsEnabled

Public Methods

Method Description
__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 )

Protected Methods

Method Description
_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 ( )

Private Methods

Method Description
_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 )

Method Details

__construct() public method

public __construct ( )

_alterDbTable() protected method

protected _alterDbTable ( array $fieldData )
$fieldData array

_assignValues() protected method

protected _assignValues ( &$iaView, array &$entryData )
$entryData array

_entryAdd() protected method

protected _entryAdd ( array $entryData )
$entryData array

_entryDelete() protected method

protected _entryDelete ( $entryId )

_entryUpdate() protected method

protected _entryUpdate ( array $entryData, $entryId )
$entryData array

_gridQuery() protected method

protected _gridQuery ( $columns, $where, $order, $start, $limit )

_gridRead() protected method

protected _gridRead ( $params )

_htmlAction() protected method

Custom item fields support
protected _htmlAction ( &$iaView )
$iaView

_indexPage() protected method

protected _indexPage ( &$iaView )

_jsonAction() protected method

protected _jsonAction ( &$iaView )

_modifyGridParams() protected method

protected _modifyGridParams ( &$conditions, &$values )

_modifyGridParams() protected method

protected _modifyGridParams ( &$conditions, &$values, array $params )
$params array

_modifyGridResult() protected method

protected _modifyGridResult ( array &$entries )
$entries array

_postSaveEntry() protected method

protected _postSaveEntry ( array $entry, array $data, $action )
$entry array
$data array

_preSaveEntry() protected method

protected _preSaveEntry ( array &$entry, array $data, $action )
$entry array
$data array

_resetRelations() protected method

protected _resetRelations ( $name, $item )

_saveTags() protected method

protected _saveTags ( $tagsString )

_setChildren() protected method

protected _setChildren ( $name, $item, $values, $children = [] )

_setDefaultValues() protected method

protected _setDefaultValues ( array &$entry )
$entry array

_setPageTitle() protected method

protected _setPageTitle ( &$iaView )

_setPageTitle() protected method

protected _setPageTitle ( &$iaView, array $entryData, $action )
$entryData array

_setPagesList() protected method

protected _setPagesList ( $fieldId, array $pages, $extras = '' )
$pages array

_setRelations() protected method

protected _setRelations ( )

getById() public method

we should prevent editing menus via this controller
public getById ( $id )

recursiveRead() public method

public recursiveRead ( $list, $pid, array $titles )
$titles array

recursive_read_menu() public method

public recursive_read_menu ( $menus, $pages, &$list, $menuId )

utf8_validation() public method

public utf8_validation ( &$item )

Property Details

$_gridColumns protected_oe property

protected $_gridColumns

$_gridFilters protected_oe property

protected $_gridFilters

$_gridQueryMainTableAlias protected_oe property

protected $_gridQueryMainTableAlias

$_name protected_oe property

protected $_name

$_permissionsEdit protected_oe property

protected $_permissionsEdit

$_phraseAddSuccess protected_oe property

protected $_phraseAddSuccess

$_phraseGridEntriesDeleted protected_oe property

protected $_phraseGridEntriesDeleted

$_phraseGridEntryDeleted protected_oe property

protected $_phraseGridEntryDeleted

$_pluginName protected_oe property

protected $_pluginName

$_processAdd protected_oe property

protected $_processAdd

$_processEdit protected_oe property

protected $_processEdit

$_table protected_oe property

protected $_table

$_tableBlogEntriesTags protected_oe property

protected $_tableBlogEntriesTags

$_tableBlogTags protected_oe property

protected $_tableBlogTags

$_tooltipsEnabled protected_oe property

protected $_tooltipsEnabled