Projects edit/delete deliverable handler

package org.openpsa.sales

 Methods

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

Displays a deliverable delete confirmation view.

Note, that the deliverable for non-index mode operation is automatically determined in the can_handle phase.

If create privileges apply, we relocate to the index creation deliverable

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Displays a deliverable edit view.

Note, that the deliverable for non-index mode operation is automatically determined in the can_handle phase.

If create privileges apply, we relocate to the index creation deliverable

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_show_delete (mixed $handler_id, array $data)

Shows the loaded deliverable.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_edit (mixed $handler_id, array $data)

Shows the loaded deliverable.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_load_controller ()

Internal helper, loads the controller for the current deliverable.

Any error triggers a 500.

_load_datamanager ()

Internal helper, loads the datamanager for the current deliverable.

Any error triggers a 500.

_load_schemadb ()

Loads and prepares the schema database.

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

_modify_schema ()

Helper function to alter the schema based on the current operation

_prepare_request_data ($handler_id)

Simple helper which references all important members to the request data listing for usage within the style listing.

Parameters

$handler_id

_process_at_entry (array $formdata)

Parameters

$formdata

_update_breadcrumb_line (string $handler_id)

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

Parameters

$handler_id

string

 Properties

 

\midcom_helper_datamanager2_controller_simple $_controller

The Controller of the deliverable used for editing
 

\midcom_helper_datamanager2_datamanager $_datamanager

The Datamanager of the deliverable to display (for delete mode)
 

\org_openpsa_sales_salesproject_deliverable_dba $_deliverable

The deliverable to operate on
 

string $_schema

Schema to use for deliverable display
 

Array $_schemadb

The schema database in use, available only while a datamanager is loaded.