Public Attributes | |
$menuSrl = null | |
$itemKeyList = array() | |
$map = array() | |
$checked = array() | |
$insertedMenuItemSrlList = array() | |
Public Attributes inherited from ModuleObject | |
$mid = NULL | |
string to represent run-time instance of Module (XE Module) More... | |
$module = NULL | |
Class name of Xe Module that is identified by mid. More... | |
$module_srl = NULL | |
integer value to represent a run-time instance of Module (XE Module) More... | |
$module_info = NULL | |
an object containing the module information More... | |
$origin_module_info = NULL | |
$xml_info = NULL | |
an object containing the module description extracted from XML file More... | |
$module_path = NULL | |
a path to directory where module source code resides More... | |
$act = NULL | |
a string value to contain the action name More... | |
$template_path = NULL | |
a path of directory where template files reside More... | |
$template_file = NULL | |
name of template file More... | |
$layout_path = '' | |
a path of directory where layout files reside More... | |
$layout_file = '' | |
name of layout file More... | |
$edited_layout_file = '' | |
name of temporary layout files that is modified in an admin mode More... | |
$stop_proc = FALSE | |
a flag to indicating whether to stop the execution of code. More... | |
$module_config = NULL | |
$ajaxRequestMethod = array('XMLRPC', 'JSON') | |
$gzhandler_enable = TRUE | |
Public Attributes inherited from BaseObject | |
$error = 0 | |
$message = 'success' | |
$variables = array() | |
$httpStatusCode = NULL | |
Definition at line 11 of file menu.admin.controller.php.
menuAdminController::__construct | ( | ) |
Definition at line 58 of file menu.admin.controller.php.
menuAdminController::_recursiveMoveMenuItem | ( | $result | ) |
move item with sub directory(recursive)
object | $result |
Definition at line 1383 of file menu.admin.controller.php.
menuAdminController::_setParent | ( | $parent_srl, | |
$child_index, | |||
& | $target | ||
) |
Set parent number to child
int | $parent_srl | |
int | $child_index | |
object | $target |
Definition at line 1360 of file menu.admin.controller.php.
menuAdminController::_updateMenuItem | ( | $itemInfo | ) |
Definition at line 807 of file menu.admin.controller.php.
menuAdminController::_uploadButton | ( | $args | ) |
Register a menu image button
object | $args |
Definition at line 2142 of file menu.admin.controller.php.
menuAdminController::addMenu | ( | $title, | |
$siteSrl = 0 |
|||
) |
Add a menu
string | $title | |
int | $siteSrl |
Definition at line 88 of file menu.admin.controller.php.
menuAdminController::deleteItem | ( | $args | ) |
Delete menu item ( Only include BO ) menu_srl, menu_item_srl, is_force
Definition at line 846 of file menu.admin.controller.php.
menuAdminController::deleteMenu | ( | $menu_srl | ) |
Delete menu Delete menu_item and xml cache files
Definition at line 309 of file menu.admin.controller.php.
menuAdminController::getHomeMenuCacheFile | ( | ) |
Definition at line 2271 of file menu.admin.controller.php.
menuAdminController::getPhpCacheCode | ( | $source_node, | |
$tree, | |||
$site_srl, | |||
$domain | |||
) |
Return php code converted from nodes in an array Although xml data can be used for tpl, menu to menu, it needs to use javascript separately By creating cache file in php and then you can get menu information without DB This cache includes in ModuleHandler::displayContent() and then Context::set()
array | $source_node | |
array | $tree | |
int | $site_srl | |
string | $domain |
Definition at line 1989 of file menu.admin.controller.php.
menuAdminController::getUnlinkedMenu | ( | ) |
Definition at line 126 of file menu.admin.controller.php.
menuAdminController::getXmlTree | ( | $source_node, | |
$tree, | |||
$site_srl, | |||
$domain | |||
) |
Create xml data recursively looping for array nodes by referencing to parent_srl menu xml file uses a tag named "node" and this XML configures menus on admin page. (Implement tree menu by reading the xml file in tree_menu.js)
array | $source_node | |
array | $tree | |
int | $site_srl | |
string | $domain |
Definition at line 1888 of file menu.admin.controller.php.
menuAdminController::init | ( | ) |
menuAdminController::linkAllModuleInstancesToSitemap | ( | ) |
Definition at line 107 of file menu.admin.controller.php.
menuAdminController::makeHomemenuCacheFile | ( | $menuSrl | ) |
Definition at line 2263 of file menu.admin.controller.php.
menuAdminController::makeXmlFile | ( | $menu_srl | ) |
Generate XML file for menu and return its location
int | $menu_srl |
Definition at line 1766 of file menu.admin.controller.php.
menuAdminController::moveMenuItem | ( | $menu_srl, | |
$parent_srl, | |||
$source_srl, | |||
$target_srl, | |||
$mode, | |||
$isShortcut = 'Y' , |
|||
$url = NULL |
|||
) |
move menu item
int | $menu_srl | |
int | $parent_srl | |
int | $source_srl | |
int | $target_srl | |
string | $mode | 'move' or 'insert' |
Definition at line 1406 of file menu.admin.controller.php.
menuAdminController::procMenuAdminAllActList | ( | ) |
Get all act list for admin menu
Definition at line 1563 of file menu.admin.controller.php.
menuAdminController::procMenuAdminArrangeItem | ( | ) |
menuAdminController::procMenuAdminButtonUpload | ( | ) |
upload button void
Definition at line 746 of file menu.admin.controller.php.
menuAdminController::procMenuAdminCopyItem | ( | ) |
menuAdminController::procMenuAdminDelete | ( | ) |
Delete menu process method
Definition at line 250 of file menu.admin.controller.php.
menuAdminController::procMenuAdminDeleteButton | ( | ) |
menuAdminController::procMenuAdminDeleteItem | ( | ) |
Delete menu item(menu of the menu)
Definition at line 818 of file menu.admin.controller.php.
menuAdminController::procMenuAdminInsert | ( | ) |
menuAdminController::procMenuAdminInsertItem | ( | $request = NULL | ) |
Add an item to the menu, simple version
Definition at line 385 of file menu.admin.controller.php.
menuAdminController::procMenuAdminInsertItemForAdminMenu | ( | ) |
Get all act list for admin menu
Definition at line 1585 of file menu.admin.controller.php.
menuAdminController::procMenuAdminMakeXmlFile | ( | ) |
Update xml file XML file is not often generated after setting menus on the admin page
For this occasional cases, manually update was implemented.
It looks unnecessary at this moment however no need to eliminate the feature. Just leave it.
Definition at line 1489 of file menu.admin.controller.php.
menuAdminController::procMenuAdminMoveItem | ( | ) |
menuAdminController::procMenuAdminUpdate | ( | ) |
menuAdminController::procMenuAdminUpdateAuth | ( | ) |
Update menu auth (Exposure and Access)
Definition at line 1662 of file menu.admin.controller.php.
menuAdminController::procMenuAdminUpdateItem | ( | ) |
Update an item to the menu, simple version
Definition at line 645 of file menu.admin.controller.php.
menuAdminController::procMenuAdminUploadButton | ( | ) |
menuAdminController::updateLinkModule | ( | $moduleInfos, | |
$menuSrl | |||
) |
insert menu when not linked module.
array | $moduleInfos | |
int | $menuSrl |
Definition at line 169 of file menu.admin.controller.php.
menuAdminController::updateMenuItem | ( | $itemInfo | ) |
Definition at line 798 of file menu.admin.controller.php.
menuAdminController::updateMenuLayout | ( | $layout_srl, | |
$menu_srl_list | |||
) |
Mapping menu and layout When setting menu on the layout, map the default layout
int | $layout_srl | |
array | $menu_srl_list |
Definition at line 2119 of file menu.admin.controller.php.
menuAdminController::$checked = array() |
Definition at line 32 of file menu.admin.controller.php.
menuAdminController::$insertedMenuItemSrlList = array() |
Definition at line 37 of file menu.admin.controller.php.
menuAdminController::$itemKeyList = array() |
Definition at line 22 of file menu.admin.controller.php.
menuAdminController::$map = array() |
Definition at line 27 of file menu.admin.controller.php.
menuAdminController::$menuSrl = null |
Definition at line 17 of file menu.admin.controller.php.