Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs For Class CategoryRegistryUtil

Class: CategoryRegistryUtil

Source Location: /pnobjlib/CategoryRegistryUtil.class.php

Class Overview


CategoryRegistryUtil

Methods


Inherited Variables

Inherited Methods


Class Details

[line 21] CategoryRegistryUtil



[ Top ]

Class Methods


method getRegisteredModuleCategories [line 82]

The getRegisteredModuleCategories( modname $modname, tablename $tablename)

Get registered Categories for a module



Tags:

return:  associative field array of registered categories for the specified module


Parameters:

modname   $modname   The module name
tablename   $tablename   The tablename for which we wish to get the property for

[ Top ]

method getRegisteredModuleCategoriesIds [line 151]

The getRegisteredModuleCategoriesIds( modname $modname, tablename $tablename)

Get the IDs of the property registers



Tags:

return:  associative field array of register ids for the specified module


Parameters:

modname   $modname   The module name
tablename   $tablename   The tablename for which we wish to get the property for

[ Top ]

method getRegisteredModuleCategory [line 118]

The getRegisteredModuleCategory( modname $modname, tablename $tablename, property $property, [default $default = null])

Get registered category for module property



Tags:

return:  associative field array of registered categories for the specified module


Parameters:

modname   $modname   The module we wish to get the property for
tablename   $tablename   The tablename for which we wish to get the property for
property   $property   The property name
default   $default   The default value to return if the requested value is not set (optional) (default=null)

[ Top ]

method registerModuleCategories [line 54]

true registerModuleCategories( catregs $catregs)

Register module categories





Parameters:

catregs   $catregs   The array of category map data objects

[ Top ]

method registerModuleCategory [line 30]

boolean registerModuleCategory( catreg $catreg)

Register a module category



Tags:

return:  The DB insert operation result code cast to a boolean


Parameters:

catreg   $catreg   The array of category map data objects

[ Top ]

Packages:

Files:

Classes: