API17

Difference between revisions of "JFormHelper::addRulePath"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JFormHelper::addRulePath|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JFormHelper::addRulePath|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</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 24:
 
|-
 
|-
 
|}
 
|}
===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
+
* '''Referenced by'''
===Referenced by===
+
** [[JForm::addRulePath/11.1|JForm::addRulePath]]
* [[JForm/addRulePath/11.1|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 [[JFormHelper/11.1|JFormHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]]
 +
* [[JFormHelper::addRulePath|Other versions of JFormHelper::addRulePath]]
 +
{{SeeAlso:JFormHelper::addRulePath}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFormHelper::addRulePath|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JFormHelper::addRulePath|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JFormHelper/11.1|JFormHelper]]
+
===User contributed notes===
* [[JFormHelper::addRulePath|Other versions of this method]]
 
{{SeeAlso:JFormHelper::addRulePath}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 46:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JFormHelper]][[Category:JFormHelper::addRulePath]]</noinclude>
 
<noinclude>[[Category:JFormHelper]][[Category:JFormHelper::addRulePath]]</noinclude>

Revision as of 21:03, 27 April 2011

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.

Template:Description:JFormHelper::addRulePath [Edit Descripton]

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]

Template:SeeAlso:JFormHelper::addRulePath [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />