directmarketing edit/delete message handler

package org.openpsa.directmarketing

 Methods

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

Handle the message copying interface

Parameters

$handler_id

$args

$data

Returns

booleanIndicating success

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

Displays an message delete confirmation view.

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

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

Parameters

$handler_id

$args

$data

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

Displays an message edit view.

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

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

Parameters

$handler_id

$args

$data

_show_copy ($handler_id, array $data)

Show the copy interface

Parameters

$handler_id

$data

_show_delete ($handler_id, array $data)

Shows the loaded message.

Parameters

$handler_id

$data

_show_edit ($handler_id, array $data)

Shows the loaded message.

Parameters

$handler_id

$data

_load_controller ()

Internal helper, loads the controller for the current message.

Any error triggers a 500.

_load_datamanager ()

Internal helper, loads the datamanager for the current message.

Any error triggers a 500.

_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 breadcrum line towards the current location.

Parameters

$handler_id

string

 Properties

 

\midcom_helper_datamanager2_controller_simple $_controller

The Controller of the message used for editing
 

\midcom_helper_datamanager2_datamanager $_datamanager

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

\org_openpsa_directmarketing_campaign_message $_message

The message to operate on
 

array $_schemadb

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