Actions

API17

Difference between revisions of "JFormHelper"

From Joomla! Documentation

(Layout updates)
m (User contributed notes: bad link repair)
(One intermediate revision by one user 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>
{{Description:JFormHelper}}
 
===Defined in===
 
libraries/joomla/form/helper.php
 
* see source code in [[jplatform:form/helper.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Form/11.1|Form]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public static
 
|[[JFormHelper::addFieldPath/11.1|addFieldPath]]
 
|[[JFormHelper::addFieldPath/11.1|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
 
|[[JFormHelper::addFormPath/11.1|addFormPath]]
 
|[[JFormHelper::addFormPath/11.1|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
 
|[[JFormHelper::addRulePath/11.1|addRulePath]]
 
|[[JFormHelper::addRulePath/11.1|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
 
|[[JFormHelper::loadFieldClass/11.1|loadFieldClass]]
 
|[[JFormHelper::loadFieldClass/11.1|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
 
|[[JFormHelper::loadFieldType/11.1|loadFieldType]]
 
|[[JFormHelper::loadFieldType/11.1|loadFieldType]]
 
|Method to load a form field object given a type.  
 
|Method to load a form field object given a type.  
 
|-
 
|-
 +
|public static
 
|[[JFormHelper::loadRuleClass/11.1|loadRuleClass]]
 
|[[JFormHelper::loadRuleClass/11.1|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
 
|[[JFormHelper::loadRuleType/11.1|loadRuleType]]
 
|[[JFormHelper::loadRuleType/11.1|loadRuleType]]
 
|Method to load a form rule object given a type.  
 
|Method to load a form rule object given a type.  
 
|-
 
|-
 +
|protected static
 
|[[JFormHelper::addPath/11.1|addPath]]
 
|[[JFormHelper::addPath/11.1|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
 
|[[JFormHelper::loadClass/11.1|loadClass]]
 
|[[JFormHelper::loadClass/11.1|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
 
|[[JFormHelper::loadType/11.1|loadType]]
 
|[[JFormHelper::loadType/11.1|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 source code in [[jplatform:form/helper.php|BitBucket]]
+
* {{JVer|11.1}} '''JFormHelper source code''' on [[jplatform:form/helper.php|BitBucket]]
* [[JFormHelper|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[Subpackage Form/11.1|Form]]
 +
* [[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>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 65: Line 73:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JFormHelper]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JFormHelper]]</noinclude>

Revision as of 13:49, 29 August 2012

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JFormHelper

Description

Description:JFormHelper [Edit Descripton]

Methods

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

jimport( 'joomla.form.helper' );

See also

SeeAlso:JFormHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />