Difference between revisions of "JFormHelper"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (moving preparation) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFormHelper::addFieldPath | + | |[[API17:JFormHelper::addFieldPath|addFieldPath]] |
|Method to add a path to the list of field include paths. | |Method to add a path to the list of field include paths. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFormHelper::addFormPath | + | |[[API17:JFormHelper::addFormPath|addFormPath]] |
|Method to add a path to the list of form include paths. | |Method to add a path to the list of form include paths. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFormHelper::addRulePath | + | |[[API17:JFormHelper::addRulePath|addRulePath]] |
|Method to add a path to the list of rule include paths. | |Method to add a path to the list of rule include paths. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFormHelper::loadFieldClass | + | |[[API17:JFormHelper::loadFieldClass|loadFieldClass]] |
|Attempt to import the class file if it isn't already imported. | |Attempt to import the class file if it isn't already imported. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFormHelper::loadFieldType | + | |[[API17:JFormHelper::loadFieldType|loadFieldType]] |
|Method to load a form field object given a type. | |Method to load a form field object given a type. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFormHelper::loadRuleClass | + | |[[API17:JFormHelper::loadRuleClass|loadRuleClass]] |
|Attempt to import the class file if it isn't already imported. | |Attempt to import the class file if it isn't already imported. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JFormHelper::loadRuleType | + | |[[API17:JFormHelper::loadRuleType|loadRuleType]] |
|Method to load a form rule object given a type. | |Method to load a form rule object given a type. | ||
|- | |- | ||
|protected static | |protected static | ||
− | |[[JFormHelper::addPath | + | |[[API17:JFormHelper::addPath|addPath]] |
|Method to add a path to the list of include paths for one of the form's entities. | |Method to add a path to the list of include paths for one of the form's entities. | ||
|- | |- | ||
|protected static | |protected static | ||
− | |[[JFormHelper::loadClass | + | |[[API17:JFormHelper::loadClass|loadClass]] |
|Load a class for one of the form's entities of a particular type. | |Load a class for one of the form's entities of a particular type. | ||
|- | |- | ||
|protected static | |protected static | ||
− | |[[JFormHelper::loadType | + | |[[API17:JFormHelper::loadType|loadType]] |
|Method to load a form entity object given a type. | |Method to load a form entity object given a type. | ||
|- | |- | ||
Line 59: | Line 59: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFormHelper source code''' on [[jplatform:form/helper.php|BitBucket]] | * {{JVer|11.1}} '''JFormHelper source code''' on [[jplatform:form/helper.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Form | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Form|Form]] |
− | * [[JFormHelper|Other versions of JFormHelper]] | + | * [[API17:JFormHelper|Other versions of JFormHelper]] |
{{SeeAlso:JFormHelper}} | {{SeeAlso:JFormHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 20:49, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFormHelper[edit]
Description[edit]
Template:Description:JFormHelper [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | addFieldPath | Method to add a path to the list of field include paths. |
public static | addFormPath | Method to add a path to the list of form include paths. |
public static | addRulePath | Method to add a path to the list of rule include paths. |
public static | loadFieldClass | Attempt to import the class file if it isn't already imported. |
public static | loadFieldType | Method to load a form field object given a type. |
public static | loadRuleClass | Attempt to import the class file if it isn't already imported. |
public static | loadRuleType | Method to load a form rule object given a type. |
protected static | addPath | Method to add a path to the list of include paths for one of the form's entities. |
protected static | loadClass | Load a class for one of the form's entities of a particular type. |
protected static | loadType | Method to load a form entity object given a type. |
- Defined in libraries/joomla/form/helper.php
Importing[edit]
jimport( 'joomla.form.helper' );
See also[edit]
- JFormHelper source code on BitBucket
- Subpackage Form
- Other versions of JFormHelper
Template:SeeAlso:JFormHelper [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />