|
||
eZTodo::eZCategory class reference | ||
The eZCategory handles the category informasjon. [more] | ||
The source file: [view the source] | ||
Members | ||
Detailed Description | ||
Handles the category informasjon stored in the database. All the todo's are grouped in to categorys. | ||
Member Function Documentation | ||
eZCategory::eZCategory( $id=-1, $fetch=1 ) | ||
eZCategory | ||
eZCategory Constructor. | ||
eZCategory::store() | ||
store | ||
Stores the category object to the database. Returnes the ID to the eZCategory object if the store is a success. | ||
eZCategory::delete() | ||
delete | ||
Deletes the category object in the database. | ||
eZCategory::update() | ||
update | ||
Update the category object in the database. | ||
eZCategory::get( $id ) | ||
get | ||
Gets a category object from the database, where ID == $id | ||
eZCategory::getAll() | ||
getAll | ||
Gets all the category informasjon from the database. Returns the array in $cateogry_array ordered by title. | ||
eZCategory::title() | ||
title | ||
Tilte of the category. Returns the title of the category as a string. | ||
eZCategory::setTitle( $value ) | ||
setTitle | ||
Sets the title of the category. The new title of the category is passed as a paramenter ( $value ). | ||
eZCategory::description() | ||
description | ||
Description of the category. Returns the description of the category as a string. | ||
eZCategory::setDescription( $value ) | ||
setDescription | ||
Sets the description of the category. The new description of the category is passed as a paramenter ( $value ). | ||
eZCategory::id() | ||
id | ||
Id of the priority. Returns the id of the category as a string. | ||
eZCategory::dbInit() | ||
dbInit | ||
Private function. Open the database for read and write. Gets all the database informasjon from site.ini. |