org.openpsa.directmarketing campaign handler and viewer class.

package org.openpsa.directmarketing

 Methods

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

Logs a bounce from bounce_detector.php for POSTed token, marks the send receipt and the campaign member as bounced.

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Duplicates link_detector.php functionality in part (to avoid extra apache configurations) and handles the logging mentioned above as well.

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_show_bounce (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_redirect (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_qb_token_receipts (string $token, int $type)

QB search for message receipts with given token and type

Parameters

$token

stringtoken string

$type

intreceipt type, defaults to org_openpsa_directmarketing_campaign_messagereceipt_dba::SENT

Returns

arrayQB->execute results