/** * Function generates an drop down list with the category details. * * * @return array */ function showCategory() { $obj = new Lib_Components(); $obj1 = new Core_Category_CCategory(); $obj->data['category'] = $obj->createComponent('combobox', $obj1->getListValues('category'), 'name=id class=category_box', ''); makeConstants($obj->data, $prefix = ''); }