getTableMetaData()
getTableMetaData(\<type> $name, \<type> $params) : \<type>
Parameters
\ |
$name | |
\ |
$params |
Hermes external API interface.
This file defines Hermes's external API interface. Other applications can interact with Hermes through this API.
See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.
recordTime(array $data) : \<type>
Record a time slice
array | $data | Slice attributes date - The slice date (required). client - The client id (required). type - The jobType id (required). costobject - The costObject id [none] hours - Number of hours (required). billable - Time billable? [true] description - Description (required) note - Note [blank] |
getCostObjectInfo(string $costobject) : array
Retrieve information about a costobject's hours. Includes number of hours worked on for each employee, total billed time etc.
..
string | $costobject | The costobject id (e.g., "whups:15"). |
An array of data with the following structure: employees - an array of employee ids as keys, number of hours as values. total - total number of hours billable - total number of billable hours.
listTimeObjects(array $time_categories, mixed $start, mixed $end) : array
Lists timeslices as timeobjects.
array | $time_categories | The time categories (from listTimeObjectCategories) to list. |
mixed | $start | The start date of the period. |
mixed | $end | The end date of the period. |
An array of timeObject results.