sefv2jformproxyinterface

Extends

The Simple Email Form JForm Proxy Interface.

package

Simple Email Form

since 2.0.0

Methods

Method to bind data to the form.

bind(mixed $data) : mixed
since 2.0.0

Arguments

$data

mixed

Response

mixed

Method to filter the form data.

filter(array $data, null $group = null) : mixed
since 2.0.0

Arguments

$data

array

$group

null

Response

mixed

Getter for the form data

getData() : mixed
since 2.0.0

Response

mixed

Return all errors, if any.

getErrors() : mixed
since 2.0.0

Response

mixed

Method to get a form field represented as a JFormField object.

getField(string $name, null $group = null, null $value = null) : mixed
since 2.0.0

Arguments

$name

string

$group

null

$value

null

Response

mixed

Method to get an array of JFormField objects in a given fieldset by name.

getFieldset(null $set = null) : mixed

If no name is given then all fields are returned.

since 2.0.0

Arguments

$set

null

Response

mixed

Method to load the form description from an XML string or object.

load(string $xmlConfigString) : mixed
since 2.0.0

Arguments

$xmlConfigString

string

Response

mixed

Method to remove a field from the form definition.

removeField(string $name, null $group = null) : mixed
since 2.0.0

Arguments

$name

string

$group

null

Response

mixed

Method to reset the form data store and optionally the form XML definition.

reset(boolean $xml = false) : mixed
since 2.0.0

Arguments

$xml

boolean

Response

mixed

Method to validate form data.

validate(array $data, null $group = null) : mixed
since 2.0.0

Arguments

$data

array

$group

null

Response

mixed