Baseclass for reports handler, provides some common methods

package org.openpsa.reports

 Methods

_get_cache ($type, $id, $request_data)

Static

Parameters

$type

$id

$request_data

_handler_generator ($handler_id, array $args, array $data)

Parameters

$handler_id

$args

$data

_handler_generator_get (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.

_handler_generator_style ()

_handler_query_form (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.

_show_generator ($handler_id, array $data)

Parameters

$handler_id

$data

_show_generator_get (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_query_form (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

dm2_create_callback ($controller)

This is what Datamanager calls to actually create a query

Parameters

$controller

_expand_resource ($resource_id, $ret)

Convert midcom acl identifier to array of person ids

Parameters

$resource_id

$ret

_generator_load_redirect ($args)

Parameters

$args

_initialize_datamanager ()

_verify_cache ($key, $request_data)

Static

Parameters

$key

$request_data

_load_create_controller ()

Internal helper, fires up the creation mode controller.

Any error triggers a 500.

_load_edit_controller ()

Internal helper, loads the controller for the current salesproject.

Any error triggers a 500.

_load_query ($identifier, $dm_key)

Parameters

$identifier

$dm_key

_load_schemadb ()

Loads and prepares the schema database.

The operations are done on all available schemas within the DB.

_set_active_leaf ()

 Properties

 

mixed $module

 

mixed $_datamanagers