CMS_moduleCategories_catalogClass CMS_moduleCategories_catalog
Factory and any useful methods to manage CMS_moduleCategory instances
Located in /automne/classes/modules/modulecategoriescatalog.php (line 29)
CMS_grandFather | --CMS_moduleCategories_catalog
static boolean
attachCategory
( &$category, &$parentCategory, CMS_moduleCategory $category, CMS_moduleCategory $parentCategory)
static boolean
fromArray
(array $data, array $params, CMS_language $cms_language, &$idsRelation, &$infos, array $idsRelation, string $infos)
static array(string)
getAllCategoriesAsArray
( &$cms_user, $cms_module, $cms_language, [ $level = 0], [ $root = -1], [mixed $clearanceLevel = false], [boolean $strict = false], [ $crossLanguage = false], CMS_profile $cms_user,, string $cms_module,, CMS_language $cms_language,, integer $level,, integer $root,)
static integer
getCategoryIdFromLineage
( $lineage, [ $level = 0], strign $lineage,, integer $level,)
static array(CMS_moduleCategory)
getDeletedCategories
([ $module = false], [ $return_objects = false], string $module,, boolean $return_objects,)
static string
getLineageOfCategoryAsString
( $category_id, [ $separator = ";"], integer $category_id,, string $separator,)
static array(string)
getSiblingCategoriesAsArray
( &$category, $count, &$cms_user, $cms_module, $cms_language, [mixed $clearanceLevel = false], [boolean $strict = false], CMS_profile $cms_user,, string $cms_module,, CMS_language $cms_language,)
static array(catID
getViewvableCategoriesForProfile
( &$cms_user, [string $module = false], [boolean $returnLineageArray = false], [mixed $clearanceLevel = false], [boolean $strict = false], CMS_profile $cms_user,)
static boolean
moveCategory
( &$category, &$newParentCategory, [integer $index = false], CMS_moduleCategory $category, CMS_moduleCategory $parentCategory)
static boolean
moveCategoryOrder
( &$siblingCategory, integer $moveOffset, CMS_moduleCategory $siblingCategory)
Attach a category to parent given
Does a category exists with given parameters this method is use by fromArray import method to know if an imported category already exist or not
Check and/or repair positions in siblings of a given category if ever needed
Detach a category from its parent and destroys category
Import module from given array datas
Return categories founded in given module in current language
Returns each category ID and label in a module given user can see (from : none, to : view)
Parses a lineage and returns a category ID in given level By default returns root category ID in lineage
Return categories marked as deleted
Get the last position used in siblings list
Gives an array containing the lineage of a category ID was given From oldest ancestor to itself
Gives a string representing the lineage of a category whose ID was given From oldest ancestor to itself, imploded with ; (semicolon) by Default
Create a select box XHTML containing all categories user has access to
View CMS_dialog_listboxes::getListBox for detail
Create 2 listboxes XHTML exchanging their values through javascript
View CMS_dialog_listboxes::getListBoxes for detail
Get the ID of the category parent to another This method must be as fast as possible
Returns each category ID and label in a module given user can see
Returns a multidimentionnal array of categories viewvable If access control is active, we need to limit serch to user's permissions on categories
Moves a cateogry from its parent to another
Moves position of a category in list at given index
Moves position of a category in list, with given offset
Does given uuid already exists for categories
Inherited From CMS_grandFather
CMS_grandFather::autoload()
CMS_grandFather::hasError()
CMS_grandFather::log()
CMS_grandFather::PHPErrorHandler()
CMS_grandFather::raiseError()
CMS_grandFather::setDebug()
CMS_grandFather::setLog()
CMS_grandFather::_raiseError()
CMS_grandFather::__call()
Inherited from CMS_grandFather
CMS_grandFather::ERROR_LOG
CMS_grandFather::SYSTEM_LABEL
Documentation generated on Wed, 15 Feb 2012 15:32:19 +0100 by phpDocumentor 1.4.3