Delete a deliverable.
mixed
deleteDeliverable
(integer $deliverableID)
-
integer
$deliverableID: The ID of the deliverable.
Redefined in descendants as:
Attempts to return a concrete Hermes_Driver instance based on $driver.
mixed
&factory
([string $driver = null], [array $params = null])
-
string
$driver: The type of concrete Hermes_Driver subclass to return.
-
array
$params: A hash containing any additional configuration or connection parameters a subclass might need.
Retrieve a deliverable by ID.
mixed
getDeliverableByID
(integer $deliverableID)
-
integer
$deliverableID: The ID of the deliverable to retrieve.
Retrieve a specific job type record.
mixed
getJobTypeByID
(integer $jobTypeID)
-
integer
$jobTypeID: The ID of the job type.
Retrieve list of deliverables.
mixed
listDeliverables
([array $criteria = array()])
-
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.
Redefined in descendants as:
Retrieve list of job types.
mixed
listJobTypes
([array $criteria = array()])
-
array
$criteria:
Hash of filter criteria:
'enabled' => If present, only retrieve enabled or disabled job types.
Redefined in descendants as:
Attempts to return a reference to a concrete Hermes_Driver instance based on $driver.
It will only create a new instance if no Hermes_Driver instance with the same parameters currently exists.
This should be used if multiple storage sources are required.
This method must be invoked as: $var = &Hermes_Driver::singleton()
mixed
&singleton
([string $driver = null], [array $params = null])
-
string
$driver: The type of concrete Hermes_Driver subclass to return.
-
array
$params: A hash containing any additional configuration or connection parameters a subclass might need.
Add or update a deliverable.
mixed
updateDeliverable
(array $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.
Redefined in descendants as:
Add or update a job type record.
mixed
updateJobType
(array $jobtype)
-
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.
Redefined in descendants as: