API17

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.  
  
{{Description:JFormHelper::addRulePath}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JFormHelper::addRulePath|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JFormHelper::addRulePath ($new=null)
+
public static function addRulePath ($new=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 22:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/form/helper.php (line 226)
+
* '''Referenced by'''
* see source code in [[jplatform:form/helper.php#cl-226|BitBucket]]
+
** [[API17:JForm::addRulePath|JForm::addRulePath]]
===Referenced by===
 
* [[JForm::addRulePath/11.1|JForm::addRulePath]]
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JFormHelper::addRulePath source code''' on [[jplatform:form/helper.php#cl-218|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JFormHelper::addRulePath|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JFormHelper|JFormHelper]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]]
* [[JFormHelper/11.1|JFormHelper]]
+
* [[API17:JFormHelper::addRulePath|Other versions of JFormHelper::addRulePath]]
* [[JFormHelper::addRulePath|Other versions of this method]]
+
 
{{SeeAlso:JFormHelper::addRulePath}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JFormHelper::addRulePath
 
category=JFormHelper::addRulePath
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JFormHelper]][[Category:JFormHelper::addRulePath]]</noinclude>
+
<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.

Joomla 11.1 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 Joomla 11.1
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]