Difference between revisions of "JHtml::addIncludePath"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Add a directory where should search for helpers. | Add a directory where should search for helpers. | ||
− | + | ====$Path Parameter==== | |
− | + | The first parameter expected by this function is a string representing a local path. The string should not contain a trailing directory separator. | |
− | + | ||
− | + | ||
+ | |||
<source lang="php"> | <source lang="php"> | ||
public static function addIncludePath ($path= '') | public static function addIncludePath ($path= '') | ||
Line 28: | Line 29: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JHtml::addIncludePath source code''' on [[jplatform:html/html.php#cl-733|BitBucket]] | * {{JVer|11.1}} '''JHtml::addIncludePath source code''' on [[jplatform:html/html.php#cl-733|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JHtml | + | * {{JVer|11.1}} Class [[API17:JHtml|JHtml]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] |
− | * [[JHtml::addIncludePath|Other versions of JHtml::addIncludePath]] | + | * [[API17:JHtml::addIncludePath|Other versions of JHtml::addIncludePath]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtml::addIncludePath | category=JHtml::addIncludePath | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 46: | Line 45: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:10, 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.
JHtml::addIncludePath[edit]
Description[edit]
Add a directory where should search for helpers.
$Path Parameter[edit]
The first parameter expected by this function is a string representing a local path. The string should not contain a trailing directory separator.
public static function addIncludePath ($path= '')
Parameter | Type | Default | Description |
---|---|---|---|
$path |
- Returns
- Defined on line 741 of libraries/joomla/html/html.php
See also[edit]
- JHtml::addIncludePath source code on BitBucket
- Class JHtml
- Subpackage Html
- Other versions of JHtml::addIncludePath
User contributed notes[edit]
Code Examples[edit]