Difference between revisions of "JFormHelper"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (moving preparation) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JFormHelper== | ||
+ | ===Description=== | ||
+ | {{Description:JFormHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JFormHelper|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFormHelper|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JFormHelper::addFieldPath | + | |public static |
+ | |[[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. | ||
|- | |- | ||
− | |[[JFormHelper::addFormPath | + | |public static |
+ | |[[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. | ||
|- | |- | ||
− | |[[JFormHelper::addRulePath | + | |public static |
+ | |[[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. | ||
|- | |- | ||
− | |[[JFormHelper::loadFieldClass | + | |public static |
+ | |[[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. | ||
|- | |- | ||
− | |[[JFormHelper::loadFieldType | + | |public static |
+ | |[[API17:JFormHelper::loadFieldType|loadFieldType]] | ||
|Method to load a form field object given a type. | |Method to load a form field object given a type. | ||
|- | |- | ||
− | |[[JFormHelper::loadRuleClass | + | |public static |
+ | |[[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. | ||
|- | |- | ||
− | |[[JFormHelper::loadRuleType | + | |public static |
+ | |[[API17:JFormHelper::loadRuleType|loadRuleType]] | ||
|Method to load a form rule object given a type. | |Method to load a form rule object given a type. | ||
|- | |- | ||
− | |[[JFormHelper::addPath | + | |protected static |
+ | |[[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. | ||
|- | |- | ||
− | |[[JFormHelper::loadClass | + | |protected static |
+ | |[[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. | ||
|- | |- | ||
− | |[[JFormHelper::loadType | + | |protected static |
+ | |[[API17:JFormHelper::loadType|loadType]] | ||
|Method to load a form entity object given a type. | |Method to load a form entity object given a type. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/form/helper.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.form.helper' );</source> | <source lang="php">jimport( 'joomla.form.helper' );</source> | ||
===See also=== | ===See also=== | ||
− | * [[JFormHelper|Other versions of | + | * {{JVer|11.1}} '''JFormHelper source code''' on [[jplatform:form/helper.php|BitBucket]] |
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Form|Form]] | ||
+ | * [[API17:JFormHelper|Other versions of JFormHelper]] | ||
{{SeeAlso:JFormHelper}} | {{SeeAlso:JFormHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFormHelper|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFormHelper|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 63: | Line 73: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
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 />