FormWrapper

Wrapper class for FormHelper

deprecated
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

package

Joomla CMS

Methods

addFieldPath

Helper wrapper method for addFieldPath

addFieldPath(mixed new = null) : array
deprecated
see 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 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 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 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, bool new = true) : mixed
deprecated
see FormHelper::loadFieldType()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

type

stringThe field type.

new

boolFlag 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 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, bool new = true) : mixed
deprecated
see FormHelper::loadRuleType()
since

3.4

deprecated

4.0 Use Joomla\CMS\Form\FormHelper directly

Arguments

type

stringThe field type.

new

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

Response

mixedJFormField object on success, false otherwise.