addTimer()
addTimer() : array
Add a new timer. Expects the following in $this->vars: - desc: The timer description.
- client_id:
- deliverable_id:
- jobtype_id:
Returns
array —An array with an 'id' key.
Defines the AJAX actions used in Hermes.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
createJobType() : integer
Create a new jobtype. Takes the following from $this->vars: - name: (string) They type name.
The type id of the newly created type.
updateDeliverable()
Create a new deliverable. Takes the following in $this->vars: - deliverable_id: The id of the deliverable if editing.
listDeliverablesSelect() : array
Get a list of client deliverables suitable for building a select list.
Expects the following in $this->vars:
@see Hermes::getCostObjectType
loadSlices() : array
Fetch a collection of time slices. For now, just allows a search for all of a single employees time. Either submitted or not submitted.
Expects the following values in $this->vars:
An array of time slice data.
stopTimer() : array
Stop a timer. Expects the following in $this->vars: - t: The timer id.
An array describing the current timer state. Contains:
updateJobType() : boolean
Update an existing jobtype. Takes the following from $this->vars: - id: (integer) The type id of the exsting type.
True on success/false on failure.