directmarketing edit/delete campaign handler

package org.openpsa.directmarketing

 Methods

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

Displays an campaign delete confirmation view.

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

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

Parameters

$handler_id

$args

$data

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

Displays an campaign edit view.

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

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

Parameters

$handler_id

$args

$data

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

Displays an campaign edit view.

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

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

Parameters

$handler_id

$args

$data

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

Displays an campaign edit view.

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

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

Parameters

$handler_id

$args

$data

_show_delete ($handler_id, array $data)

Shows the loaded campaign.

Parameters

$handler_id

$data

_show_edit ($handler_id, array $data)

Shows the loaded campaign.

Parameters

$handler_id

$data

_show_edit_query ($handler_id, array $data)

Shows the loaded campaign.

Parameters

$handler_id

$data

_show_edit_query_advanced ($handler_id, array $data)

Shows the loaded campaign.

Parameters

$handler_id

$data

_load_controller ()

Internal helper, loads the controller for the current campaign.

Any error triggers a 500.

_load_datamanager ()

Internal helper, loads the datamanager for the current campaign.

Any error triggers a 500.

_load_rules_from_post ()

_load_schemadb ()

Loads and prepares the schema database.

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

_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

_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

 

\org_openpsa_directmarketing_campaign $_campaign

The campaign to operate on
 

\midcom_helper_datamanager2_controller_simple $_controller

The Controller of the campaign used for editing
 

\midcom_helper_datamanager2_datamanager $_datamanager

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

array $_schemadb

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