File/lib/api.php

Description

Hermes external API interface.

$Horde: hermes/lib/api.php,v 1.42 2008/07/11 17:13:29 jan Exp $

This file defines Hermes's external API interface. Other applications can interact with Hermes through this API.

Functions
renderSubtotals (line 298)
void renderSubtotals ( &$table_data,  $hours,  $billable_hours,  $value)
  • &$table_data
  • $hours
  • $billable_hours
  • $value
_hermes_getTableData (line 154)
void _hermes_getTableData ( $name,  $params)
  • $name
  • $params
_hermes_getTableMetaData (line 61)
void _hermes_getTableMetaData ( $name,  $params)
  • $name
  • $params
_hermes_listClients (line 409)
void _hermes_listClients ()
_hermes_listCostObjects (line 325)
void _hermes_listCostObjects ( $criteria)
  • $criteria
_hermes_listJobTypes (line 403)

Retrieve list of job types.

  • return: Associative array of job types, or PEAR_Error on failure.
  • abstract:
mixed _hermes_listJobTypes ([array $criteria = array()])
  • array $criteria:

    Hash of filter criteria:

    'enabled' => If present, only retrieve enabled or disabled job types.

_hermes_perms (line 48)
void _hermes_perms ()
_hermes_recordTime (line 415)
void _hermes_recordTime ( $date,  $client,  $jobType,  $costObject,  $hours, [ $billable = true], [ $description = ''], [ $notes = ''])
  • $date
  • $client
  • $jobType
  • $costObject
  • $hours
  • $billable
  • $description
  • $notes

Documentation generated on Sun, 30 Jan 2011 05:25:48 +0000 by phpDocumentor 1.4.3