FormWrapper

Wrapper class for FormHelper

deprecated
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Methods

addFieldPath

Helper wrapper method for addFieldPath

addFieldPath(mixed $new = null) : array
deprecated
see \Joomla\CMS\Form\FormHelper::addFieldPath()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

$new

mixedA path or array of paths to add.

Response

arrayThe list of paths that have been added.

addFormPath

Helper wrapper method for addFormPath

addFormPath(mixed $new = null) : array
deprecated
see \Joomla\CMS\Form\FormHelper::addFormPath()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

$new

mixedA path or array of paths to add.

Response

arrayThe list of paths that have been added.

addRulePath

Helper wrapper method for addRulePath

addRulePath(mixed $new = null) : array
deprecated
see \Joomla\CMS\Form\FormHelper::addRulePath()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

$new

mixedA path or array of paths to add.

Response

arrayThe list of paths that have been added.

loadFieldClass

Helper wrapper method for loadFieldClass

loadFieldClass(string $type) : mixed
deprecated
see \Joomla\CMS\Form\FormHelper::loadFieldClass()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

$type

stringType of a field whose class should be loaded.

Response

mixedClass name on success or false otherwise.

loadFieldType

Helper wrapper method for loadFieldType

loadFieldType(string $type, boolean $new = true) : mixed
deprecated
see \Joomla\CMS\Form\FormHelper::loadFieldType()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

$type

stringThe field type.

$new

booleanFlag to toggle whether we should get a new instance of the object.

Response

mixedJFormField object on success, false otherwise.

loadRuleClass

Helper wrapper method for loadRuleClass

loadRuleClass(string $type) : mixed
deprecated
see \Joomla\CMS\Form\FormHelper::loadRuleClass()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

$type

stringType of a rule whose class should be loaded.

Response

mixedClass name on success or false otherwise.

loadRuleType

Helper wrapper method for loadRuleType

loadRuleType(string $type, boolean $new = true) : mixed
deprecated
see \Joomla\CMS\Form\FormHelper::loadRuleType()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

$type

stringThe field type.

$new

booleanFlag to toggle whether we should get a new instance of the object.

Response

mixedJFormField object on success, false otherwise.