eZ phpdoc - Class reference

Class list | Annotated class list | Function list | Structure

eZTodo::eZPriority class reference

The eZPriority handles the priority informasjon. [more]
The source file: [view the source]

Members


Detailed Description

Handles the priority informasjon stored in the database. All the todo's have a priority status.

Member Function Documentation

eZPriority::eZPriority()

eZPriority

eZPriority Constructor.

eZPriority::store()

store

Stores the priority object to the database. Returnes the ID to the eZPriority object if the store is a success.

eZPriority::delete()

delete

Deletes the priority object in the database.

eZPriority::update()

update

Update the priority object in the database.

eZPriority::get( $id )

get

Gets a priority object from the database, where ID == $id

eZPriority::getAll()

getAll

Gets all the priority informasjon from the database. Returns the array in $priority_array ordered by title.

eZPriority::title()

title

Tilte of the priority. Returns the title of the priority as a string.

eZPriority::setTitle( $value )

setTitle

Sets the title of the priority. The new title of the priority is passed as a paramenter ( $value ).

eZPriority::id()

id

Id of the priority. Returns the id of the priority as a string.

eZPriority::dbInit()

dbInit

Private function. Open the database for read and write. Gets all the database informasjon from site.ini.