mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
issue 160 when add menu in sitemap,
get module list change to trigger method. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9219 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
da1ef5ac65
commit
3f9d1d2779
2 changed files with 14 additions and 12 deletions
|
|
@ -221,5 +221,18 @@
|
|||
$this->add('tpl', str_replace("\n"," ",$tpl));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief when menu add in sitemap, select module list
|
||||
* this menu showing with trigger
|
||||
**/
|
||||
function getModuleListInSitemap()
|
||||
{
|
||||
// after trigger
|
||||
$moduleList = array('page');
|
||||
$output = ModuleHandler::triggerCall('menu.getModuleListInSitemap', 'after', $moduleList);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
return $moduleList;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue