[ Index ] |
PHP Cross Reference of Eventum |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 271 lines (10 kb) |
Included or required: | 11 times |
Referenced: | 0 times |
Includes or requires: | 3 files include/class.misc.php include/class.validation.php include/class.error_handler.php |
Category:: (8 methods):
getDetails()
removeByProjects()
remove()
update()
insert()
getList()
getAssocList()
getTitle()
getDetails($prc_id) X-Ref |
Method used to get the full details of a category. param: integer $prc_id The category ID return: array The information about the category provided |
removeByProjects($ids) X-Ref |
Method used to remove all categories related to a set of specific projects. param: array $ids The project IDs to be removed return: boolean Whether the removal worked or not |
remove() X-Ref |
Method used to remove user-selected categories from the database. return: boolean Whether the removal worked or not |
update() X-Ref |
Method used to update the values stored in the database. Typically the user would modify the title of the category in the application and this method would be called. return: integer 1 if the update worked properly, any other value otherwise |
insert() X-Ref |
Method used to add a new category to the application. return: integer 1 if the update worked properly, any other value otherwise |
getList($prj_id) X-Ref |
Method used to get the full list of categories associated with a specific project. param: integer $prj_id The project ID return: array The full list of categories |
getAssocList($prj_id) X-Ref |
Method used to get an associative array of the list of categories associated with a specific project. param: integer $prj_id The project ID return: array The associative array of categories |
getTitle($prc_id) X-Ref |
Method used to get the title for a specific project category. param: integer $prc_id The category ID return: string The category title |
Generated: Wed Dec 19 21:21:33 2007 | Cross-referenced by PHPXref 0.7 |