XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
menuAdminModel Class Reference

admin model class of the menu module More...

Inheritance diagram for menuAdminModel:
menu ModuleObject BaseObject

Public Member Functions

 init ()
 
 getMenuList ($obj)
 
 getMenus ($site_srl=null)
 
 getMenu ($menu_srl)
 
 getMenuByTitle ($title, $site_srl=0)
 
 getMenuListByTitle ($title)
 
 getMenuItemInfo ($menu_item_srl)
 
 getMenuAdminItemInfo ()
 
 getMenuItems ($menu_srl, $parent_srl=null, $columnList=array())
 
 getMenuItemNames ($source_name, $site_srl=null)
 
 getMenuAdminTplInfo ()
 
 getMenuAdminInstalledMenuType ()
 
 getModuleListInSitemap ($site_srl=0)
 when menu add in sitemap, select module list this menu showing with trigger More...
 
 getMenuAdminSiteMap ()
 
 getMenuAdminDetailSetup ()
 
- Public Member Functions inherited from menu
 moduleInstall ()
 
 checkUpdate ()
 
 moduleUpdate ()
 
 recompileCache ()
 
- Public Member Functions inherited from ModuleObject
 setModule ($module)
 
 setModulePath ($path)
 
 setRedirectUrl ($url= './', $output=NULL)
 
 getRedirectUrl ()
 
 setMessage ($message= 'success', $type=NULL)
 
 setMessageType ($type)
 
 getMessageType ()
 
 setRefreshPage ()
 
 setAct ($act)
 
 setModuleInfo ($module_info, $xml_info)
 
 stop ($msg_code)
 
 setTemplateFile ($filename)
 
 getTemplateFile ()
 
 setTemplatePath ($path)
 
 getTemplatePath ()
 
 setEditedLayoutFile ($filename)
 
 getEditedLayoutFile ()
 
 setLayoutFile ($filename)
 
 getLayoutFile ()
 
 setLayoutPath ($path)
 
 getLayoutPath ($layout_name="", $layout_type="P")
 
 proc ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Additional Inherited Members

- 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
 

Detailed Description

admin model class of the menu module

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com)

Definition at line 11 of file menu.admin.model.php.

Member Function Documentation

menuAdminModel::getMenu (   $menu_srl)

Get information of a new menu from the DB Return DB and XML information of the menu

Parameters
int$menu_srl
Returns
object

Definition at line 77 of file menu.admin.model.php.

menuAdminModel::getMenuAdminDetailSetup ( )

Get module's detail setup contents

Returns
void

Definition at line 584 of file menu.admin.model.php.

menuAdminModel::getMenuAdminInstalledMenuType ( )

get installed menu type api

Definition at line 336 of file menu.admin.model.php.

menuAdminModel::getMenuAdminItemInfo ( )

Return item information of the menu_srl

Returns
void

Definition at line 173 of file menu.admin.model.php.

menuAdminModel::getMenuAdminSiteMap ( )

Definition at line 478 of file menu.admin.model.php.

menuAdminModel::getMenuAdminTplInfo ( )

Get a template by using the menu_srl and retrun. Return html after compiling tpl on the server in order to add menu information on the admin page

Returns
void

Definition at line 287 of file menu.admin.model.php.

menuAdminModel::getMenuByTitle (   $title,
  $site_srl = 0 
)

Get information of a new menu from the DB, search condition is menu title Return DB and XML information of the menu

Parameters
string$title
Returns
object

Definition at line 97 of file menu.admin.model.php.

menuAdminModel::getMenuItemInfo (   $menu_item_srl)

Return item information of the menu_srl group_srls uses a seperator with comma(,) and converts to an array by explode

Parameters
int$menu_item_srl
Returns
object

Definition at line 147 of file menu.admin.model.php.

menuAdminModel::getMenuItemNames (   $source_name,
  $site_srl = null 
)

Return menu name in each language to support multi-language

Parameters
string$source_name
int$site_srl
Returns
array

Definition at line 270 of file menu.admin.model.php.

menuAdminModel::getMenuItems (   $menu_srl,
  $parent_srl = null,
  $columnList = array() 
)

Return menu item list by menu number

Parameters
int$menu_srl
int$parent_srl
array$columnList
Returns
object

Definition at line 254 of file menu.admin.model.php.

menuAdminModel::getMenuList (   $obj)

Get a list of all menus

Parameters
object$obj
Returns
object

Definition at line 28 of file menu.admin.model.php.

menuAdminModel::getMenuListByTitle (   $title)

Get information of a new menu from the DB, search condition is menu title Return DB and XML information of the menu(list Type)

Parameters
string$title
Returns
object

Definition at line 127 of file menu.admin.model.php.

menuAdminModel::getMenus (   $site_srl = null)

Return all menus

Parameters
int$site_srl
Returns
array

Definition at line 54 of file menu.admin.model.php.

menuAdminModel::getModuleListInSitemap (   $site_srl = 0)

when menu add in sitemap, select module list this menu showing with trigger

Parameters
int$site_srl
Returns
array

Definition at line 398 of file menu.admin.model.php.

menuAdminModel::init ( )

Initialization

Returns
void

Definition at line 19 of file menu.admin.model.php.


The documentation for this class was generated from the following file: