Invoice create/read/update/delete handler

package org.openpsa.invoices

 Methods

_handler_callback (mixed $handler_id, array $args, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_index_object ($dm)

Method for adding or updating the invoice to the MidCOM indexer service.

Parameters

$dm

Datamanager2 instance containing the object

_load_defaults ()

_load_schemadb ()

_populate_toolbar ($handler_id)

Parameters

$handler_id

_prepare_request_data ()

_update_breadcrumb (string $handler_id)

Helper, updates the context so that we get a complete breadcrumb line towards the current location.

Parameters

$handler_id

stringThe current handler

_update_title (mixed $handler_id)

Method for updating title for current object and handler

Parameters

$handler_id

mixedThe ID of the handler.

dm2_create_callback ($datamanager)

This is what Datamanager calls to actually create an invoice

Parameters

$datamanager

_count_invoice_hours ()

_modify_schema ()

Helper function to alter the schema based on the current operation

_populate_read_toolbar ($handler_id)

Parameters

$handler_id

_populate_schema_contacts_for_customer ($customer)

Parameters

$customer

_populate_schema_customers_for_contact ($contact_id)

List customer contact's groups

Parameters

$contact_id

 Properties

 

mixed $_dba_class