mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 19:59:54 +09:00
issue 2515, added a api for get installed menu types
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11412 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0083b28e2a
commit
fe9e2263b8
2 changed files with 9 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
<action name="getMenuAdminTplInfo" type="model" standalone="true" />
|
||||
<action name="getMenuAdminItemInfo" type="model" standalone="true" />
|
||||
<action name="getMenuAdminSiteMap" type="model" standalone="true" />
|
||||
<action name="getMenuAdminInstalledMenuType" type="model" standalone="true" />
|
||||
|
||||
<action name="procMenuAdminInsert" type="controller" standalone="true" ruleset="insertMenu" />
|
||||
<action name="procMenuAdminUpdate" type="controller" standalone="true" ruleset="updateMenuTitle" />
|
||||
|
|
|
|||
|
|
@ -258,6 +258,14 @@
|
|||
$this->add('tpl', str_replace("\n"," ",$tpl));
|
||||
}
|
||||
|
||||
/**
|
||||
* get installed menu type api
|
||||
*/
|
||||
function getMenuAdminInstalledMenuType()
|
||||
{
|
||||
$this->add('menu_types', $this->getModuleListInSitemap());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief when menu add in sitemap, select module list
|
||||
* this menu showing with trigger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue