class FormWrapper

Wrapper class for FormHelper

Methods

mixed
loadFieldType( string $type, boolean $new = true)

Helper wrapper method for loadFieldType

mixed
loadRuleType( string $type, boolean $new = true)

Helper wrapper method for loadRuleType

mixed
loadFieldClass( string $type)

Helper wrapper method for loadFieldClass

mixed
loadRuleClass( string $type)

Helper wrapper method for loadRuleClass

array
addFieldPath( mixed $new = null)

Helper wrapper method for addFieldPath

array
addFormPath( mixed $new = null)

Helper wrapper method for addFormPath

array
addRulePath( mixed $new = null)

Helper wrapper method for addRulePath

Details

mixed loadFieldType( string $type, boolean $new = true)

Helper wrapper method for loadFieldType

Parameters

string $type The field type.
boolean $new Flag to toggle whether we should get a new instance of the object.

Return Value

mixed JFormField object on success, false otherwise.

See also

FormHelper::loadFieldType()

mixed loadRuleType( string $type, boolean $new = true)

Helper wrapper method for loadRuleType

Parameters

string $type The field type.
boolean $new Flag to toggle whether we should get a new instance of the object.

Return Value

mixed JFormField object on success, false otherwise.

See also

FormHelper::loadRuleType()

mixed loadFieldClass( string $type)

Helper wrapper method for loadFieldClass

Parameters

string $type Type of a field whose class should be loaded.

Return Value

mixed Class name on success or false otherwise.

See also

FormHelper::loadFieldClass()

mixed loadRuleClass( string $type)

Helper wrapper method for loadRuleClass

Parameters

string $type Type of a rule whose class should be loaded.

Return Value

mixed Class name on success or false otherwise.

See also

FormHelper::loadRuleClass()

array addFieldPath( mixed $new = null)

Helper wrapper method for addFieldPath

Parameters

mixed $new A path or array of paths to add.

Return Value

array The list of paths that have been added.

See also

FormHelper::addFieldPath()

array addFormPath( mixed $new = null)

Helper wrapper method for addFormPath

Parameters

mixed $new A path or array of paths to add.

Return Value

array The list of paths that have been added.

See also

FormHelper::addFormPath()

array addRulePath( mixed $new = null)

Helper wrapper method for addRulePath

Parameters

mixed $new A path or array of paths to add.

Return Value

array The list of paths that have been added.

See also

FormHelper::addRulePath()