Projects create/read/update/delete task handler

package org.openpsa.projects

 Methods

_get_object_url (\midcom_core_dbaobject $object)

inheritdoc

Parameters

$object

_handler_callback (mixed $handler_id, array $args, array $data)

Add CSS

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_index_object (\$dm $dm)

Method for adding or updating the task to the MidCOM indexer service.

Parameters

$dm

\$dmDatamanager2 instance containing the object

_load_defaults ()

_load_object ($handler_id, array $args, array $data)

Parameters

$handler_id

$args

$data

_load_parent (mixed $handler_id, array $args, array $data)

Method for loading parent object for an object that is to be created.

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_load_schemadb ()

Loads and prepares the schema database.

The operations are done on all available schemas within the DB.

_populate_toolbar (mixed $handler_id)

Method for adding the supported operations into the toolbar.

Parameters

$handler_id

mixedThe ID of the handler.

_show_read (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_update_breadcrumb (string $handler_id)

Helper, updates the context so that we get a complete breadcrumb line towards the current location.

Parameters

$handler_id

string

_update_title (mixed $handler_id)

Method for updating title for current object and handler

Parameters

$handler_id

mixedThe ID of the handler.

dm2_create_callback ($controller)

This is what Datamanager calls to actually create a task

Parameters

$controller

_list_bookings ()

_populate_read_toolbar (mixed $handler_id)

Special helper for adding the supported operations from read into the toolbar.

Parameters

$handler_id

mixedThe ID of the handler.

_sort_by_time ($a, $b)

Code to sort array of events by $event->start, from smallest to greatest
Static

Used by $this->_list_bookings()

Parameters

$a

$b

 Properties

 

mixed $_dba_class

 

mixed $_prefix