Difference between revisions of "JFormHelper::addRulePath"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Method to add a path to the list of rule include paths. | Method to add a path to the list of rule include paths. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function addRulePath ($new=null) | public static function addRulePath ($new=null) | ||
Line 28: | Line 26: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JForm::addRulePath | + | ** [[API17:JForm::addRulePath|JForm::addRulePath]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFormHelper::addRulePath source code''' on [[jplatform:form/helper.php#cl-218|BitBucket]] | * {{JVer|11.1}} '''JFormHelper::addRulePath source code''' on [[jplatform:form/helper.php#cl-218|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JFormHelper | + | * {{JVer|11.1}} Class [[API17:JFormHelper|JFormHelper]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Form | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] |
− | * [[JFormHelper::addRulePath|Other versions of JFormHelper::addRulePath]] | + | * [[API17:JFormHelper::addRulePath|Other versions of JFormHelper::addRulePath]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFormHelper::addRulePath | category=JFormHelper::addRulePath | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 49: | Line 45: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:09, 24 March 2017
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::addRulePath[edit]
Description[edit]
Method to add a path to the list of rule include paths.
public static function addRulePath ($new=null)
Parameter | Type | Default | Description |
---|---|---|---|
$new | mixed | null | A path or array of paths to add. |
- Returns array The list of paths that have been added.
- Defined on line 226 of libraries/joomla/form/helper.php
- Since
- Referenced by
See also[edit]
- JFormHelper::addRulePath source code on BitBucket
- Class JFormHelper
- Subpackage Form
- Other versions of JFormHelper::addRulePath
User contributed notes[edit]
Code Examples[edit]