org.openpsa.directmarketing campaign handler and viewer class.

package org.openpsa.directmarketing

 Methods

_handler_list (String $handler_id, array $args, array $data)

Phase for showing the list of campaigns

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

_handler_unsubscribe (String $handler_id, array $args, array $data)

Handle the unsubscribe phase

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

_handler_unsubscribe_ajax (String $handler_id, array $args, array $data)

Support the AJAX request for unsubscribing from a campaign

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

_handler_unsubscribe_all (String $handler_id, array $args, array $data)

Handle the request for unsubscribing all subscribers from a campaign

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

_on_initialize ()

_show_list (String $handler_id, array $data)

Show the list of existing campaigns

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_show_unsubscribe (String $handler_id, array $data)

Show the unsubscribe action

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_show_unsubscribe_ajax (String $handler_id, array $data)

Show the empty style of AJAX unsubscribing

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_show_unsubscribe_all (String $handler_id, array $data)

Show the unsubscribe status for unsubscribe all

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference