issue 2369 get list of module.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11335 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-09-19 02:50:37 +00:00
parent 2eb8d34fcd
commit 68e87187fb
2 changed files with 16 additions and 0 deletions

View file

@ -672,6 +672,21 @@
return $info;
}
/**
* Get a skin list for js API.
* return void
**/
public function getModuleSkinInfoList()
{
$module = Context::get('module_name');
$path = ModuleHandler::getModulePath($module);
$skin_list = $this->getSkins($path, 'skins');
debugPrint($module);
debugPrint($skin_list);
$this->add('skin_info_list', $skin_list);
}
/**
* @brief Get a list of skins for the module