Class Hermes

Description

Hermes Base Class.

$Horde: hermes/lib/Hermes.php,v 1.59 2007/09/29 03:35:23 chuck Exp $

Located in /lib/Hermes.php (line 10)


	
			
Method Summary
 void canEditTimeslice ( $id)
 void getCostObjectByID ( $id)
 void getDayOfWeek ( $timestamp)
 void &getDriver ()
 array getEmployeesType ([string $enumtype = 'multienum'])
 void getMenu ([ $returnType = 'object'])
 void listClients ()
 array makeExportHours (array $hours)
 void tabs ()
Methods
canEditTimeslice (line 92)
void canEditTimeslice ( $id)
  • $id
getCostObjectByID (line 193)
void getCostObjectByID ( $id)
  • $id
getDayOfWeek (line 45)
void getDayOfWeek ( $timestamp)
  • $timestamp
getDriver (line 12)
void &getDriver ()
getEmployeesType (line 166)

Get form control type for users.

What type of control we use depends on whether the Auth driver has list capability.

  • return: A two-element array of the type and the type's parameters.
array getEmployeesType ([string $enumtype = 'multienum'])
  • string $enumtype: The type to return if we have list capability (should be either 'enum' or 'multienum').
getMenu (line 56)

Build Hermes' list of menu items.

void getMenu ([ $returnType = 'object'])
  • $returnType
listClients (line 20)
void listClients ()
makeExportHours (line 121)

Rewrite an hours array into a format useable by Horde_Data::

  • return: an array suitable for Horde_Data::
array makeExportHours (array $hours)
  • array $hours: This is an array of the results from $hermes->getHours().
tabs (line 220)
void tabs ()

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