\Ulaform_Action_Mailto

Ulaform_Action_Mailto Class provides a Ulaform action driver to mail the results of a form to one or more recipients.

Copyright 2003-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Summary

Methods
Properties
Constants
__construct()
getDrivers()
doAction()
getInfo()
getParams()
No public properties found
No constants found
_formatFormData()
$_params
N/A
No private methods found
No private properties found
N/A

Properties

$_params

$_params : array

A hash containing any parameters for the current action driver.

Type

array

Methods

__construct()

__construct(array  $params) 

Constructor

Parameters

array $params

Any parameters needed for this action driver.

getDrivers()

getDrivers() : array

Returns a list of available action drivers.

Returns

array —

An array of available drivers.

doAction()

doAction(  $form_params,   $form_data,   $fields) 

Actually carry out the action.

Parameters

$form_params
$form_data
$fields

getInfo()

getInfo() : array

Identifies this action driver and returns a brief description, used by admin when configuring an action for a form and set up using Horde_Form.

Returns

array —

Array of required parameters.

getParams()

getParams() : array

Returns the required parameters for this action driver, used by admin when configuring an action for a form and set up using Horde_Form.

Returns

array —

Array of required parameters.

_formatFormData()

_formatFormData(  $field_data) : string

Returns an email-friendly string containing the field data supplied.

Mainly to deal with form data supplied in an array structure.

Parameters

$field_data

Returns

string