SORT_ORDER_ASC
SORT_ORDER_ASC
Hermes_Driver:: defines an API for implementing storage backends for Hermes.
See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.
updateJobType(array $jobtype) : \The
Add or update a job type record.
array | $jobtype | A hash of job type properties: 'id' => The ID of the job, if updating. If not present, a new job type is created. 'name' => The job type's name. 'enabled' => Whether the job type is enabled for new time entry. |
job's ID.
updateDeliverable(array $deliverable) : integer
Add or update a deliverable.
array | $deliverable | A hash of deliverable properties: 'id' => The ID of the deliverable, if updating. If not present, a new ID is allocated. 'name' => The deliverable's display name. 'client_id' => The assigned client ID. 'parent' => ID of the deliverables parent deliverable (if a child). 'estimate' => Estimated number of hours for completion of the deliverable. 'active' => Whether this deliverable is active. 'description' => Text description (notes) for this deliverable. |
ID of new or saved deliverable.
listDeliverables(array $criteria = array()) : array
Retrieve list of deliverables.
array | $criteria | A hash of search criteria: 'id' => If present, only deliverable with specified ID is searched for. 'client_id' => If present, list is filtered by client ID. |
Hash of job types.
enterTime(string $employee, array $info) : \Hermes_Slice
Saves a row of time information.
string | $employee | The Horde ID of the person who worked the hours. |
array | $info | The billing information to enter. Must contain the following entries:
|
The new time slice.
updateTime( $entries) : \Hermes_Slice
Updates time slice information.
$entries |
The updated time slice.