eZ phpdoc - Class reference

Class list | Annotated class list | Function list | Structure

eZTodo::eZTodo class reference

The eZTodo handles the todo informasjon. [more]
The source file: [view the source]

Members


Detailed Description

Handles the todo informasjon stoered in the database.

Member Function Documentation

eZTodo::eZTodo( $id=-1, $fetch=1 )

eZTodo

eZtodo Constructor.

eZTodo::store()

store

Stores the todo object to the database. Returnes the ID to the eZCompany object if the store is a success.

eZTodo::delete()

delete

Deletes the todo object in the database.

eZTodo::update()

update

Update the todo object in the database.

eZTodo::get( $id )

get

Gets the todo object from the database, where ID == $id

eZTodo::getAll()

getAll

Gets all the todo informasjon from the database. Returns the array in $todo_array ordered by title.

eZTodo::getByUser( $id )

getByUser

Gets all the todo infomasjon from a user, where ID == $id. Return the array in $todo_array ordered by title.

eZTodo::title()

title

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

eZTodo::setTitle( $value )

setTitle

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

eZTodo::text()

text

Text of the todo. Returns the text of the todo as a string.

eZTodo::setText( $value )

setText

Sets the text of the todo. The new text of the todo is passed as a paramenter ( $value ).

eZTodo::category()

category

Tilte of the category. Returns the category of the todo as a string.

eZTodo::setCategory( $value )

setCategory

Sets the category of the todo. The new category of the todo is passed as a paramenter ( $value ).

eZTodo::priority()

priority

Priority of the todo. Returns the priority of the todo as a string.

eZTodo::setPriority( $value )

setPriority

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

eZTodo::due()

due

Due of the todo. Returns the due of the todo as a string.

eZTodo::setDue( $value )

setDue

Sets the due of the todo. The new due of the todo is passed as a paramenter ( $value ).

eZTodo::user()

user

User of the todo. Returns the priority of the todo as a string.

eZTodo::setUser( $value )

setUser

Sets the user of the todo. The new user of the todo is passed as a paramenter ( $value ).

eZTodo::owner()

owner

Owner of the todo. Returns the priority of the todo as a string.

eZTodo::setOwner( $value )

setOwner

Sets the owner of the todo. The new owner of the todo is passed as a paramenter ( $value ).

eZTodo::permission()

permission

Permission of the todo. Returns the permission of the todo as a string.

eZTodo::setPermission( $value )

setPermission

Sets the permission of the todo. The new permission of the todo is passed as a paramenter ( $value ).

eZTodo::id()

id

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

eZTodo::dbInit()

dbInit

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