org.openpsa.directmarketing campaign handler and viewer class.

package org.openpsa.directmarketing

 Methods

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

Handle the CSV import phase

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

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

Phase for importing CSV.

This interface lets user to define what the fields of the CSV represent

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

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

Phase for selecting the import type

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

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

Phase for importing simple email addresses

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

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

Phase for importing vcards

Parameters

$handler_id

StringName of the request handler

$args

arrayVariable arguments

$data

array&$data Public request data, passed by reference

_show_csv (String $handler_id, array $data)

Show the CSV import phase

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_show_csv_select (String $handler_id, array $data)

Show the CSV selection phase where user defines which field in CSV corresponds to which schema fields

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_show_index (String $handler_id, array $data)

Show the selection list for import types

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_show_simpleemails (String $handler_id, array $data)

Show the import phase of email addresses

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_show_vcards (String $handler_id, array $data)

Show the vcard import interface

Parameters

$handler_id

StringName of the request handler

$data

array&$data Public request data, passed by reference

_prepare_handler (array $args)

Parameters

$args

_run_import (\org_openpsa_directmarketing_importer $importer, $input)

Parameters

$importer

$input

_update_breadcrumb (String $handler_id, array $args)

Update the breadcrumb line

Parameters

$handler_id

String

$args

array

 Properties

 

boolean $_import_success

Flag to track whether an import was successfully performed
 

array $_schemadbs

The schema databases used for importing to various objects like persons and organizations