issue 1110 add module category in mid list

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10843 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-07-06 08:53:22 +00:00
parent fcbf5902db
commit d8c49ddeae
5 changed files with 71 additions and 7 deletions

View file

@ -1017,9 +1017,10 @@
/**
* @brief Get a list of module category
**/
function getModuleCategories() {
function getModuleCategories($moduleCategorySrl = array()) {
$args->moduleCategorySrl = $moduleCategorySrl;
// Get data from the DB
$output = executeQuery('module.getModuleCategories');
$output = executeQuery('module.getModuleCategories', $args);
if(!$output->toBool()) return $output;
$list = $output->data;
if(!$list) return;