Salesproject edit/create handler

package org.openpsa.sales

 Methods

_handler_edit (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_new (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_edit (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_new (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

dm2_create_callback ($datamanager)

This is what Datamanager calls to actually create a salesproject

Parameters

$datamanager

_load_create_controller ()

Internal helper, fires up the creation mode controller.

Any error triggers a 500.

_load_defaults (array $args)

Parameters

$args

_load_edit_controller ()

Internal helper, loads the controller for the current salesproject.

Any error triggers a 500.

_load_schemadb ()

 Properties

 

\midcom_helper_datamanager2_controller_simple $_controller

The Controller of the document used for creating or editing
 

Array $_defaults

The defaults to use for the new salesproject.
 

\org_openpsa_sales_salesproject_dba $_salesproject

The salesproject we're working, if any
param
 

string $_schema

The schema to use for the new salesproject.
 

Array $_schemadb

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