Difference between revisions of "JFormHelper::addRulePath"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users 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 | + | public static function addRulePath ($new=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' array The list of paths that have been added. | |
− | array The list of paths that have been added. | + | * '''Defined''' on line 226 of libraries/joomla/form/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/form/helper.php | + | * '''Referenced by''' |
− | * | + | ** [[API17:JForm::addRulePath|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}} Class [[API17:JFormHelper|JFormHelper]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | |
− | * | + | * [[API17:JFormHelper::addRulePath|Other versions of JFormHelper::addRulePath]] |
− | * [[JFormHelper::addRulePath|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===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=* | ||
+ | namespace=CodeExample | ||
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]