FormWrapper
Wrapper class for FormHelper
| since |
3.4 |
|---|---|
| deprecated |
4.0 Use |
| package |
Joomla CMS |
Methods
addFieldPath
Helper wrapper method for addFieldPath
addFieldPath(mixed new = null) : array
| see | FormHelper::addFieldPath() |
|---|---|
| since |
3.4 |
| deprecated |
4.0 Use |
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
| see | FormHelper::addFormPath() |
|---|---|
| since |
3.4 |
| deprecated |
4.0 Use |
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
| see | FormHelper::addRulePath() |
|---|---|
| since |
3.4 |
| deprecated |
4.0 Use |
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
| see | FormHelper::loadFieldClass() |
|---|---|
| since |
3.4 |
| deprecated |
4.0 Use |
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
| see | FormHelper::loadFieldType() |
|---|---|
| since |
3.4 |
| deprecated |
4.0 Use |
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
| see | FormHelper::loadRuleClass() |
|---|---|
| since |
3.4 |
| deprecated |
4.0 Use |
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
| see | FormHelper::loadRuleType() |
|---|---|
| since |
3.4 |
| deprecated |
4.0 Use |
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.