Difference between revisions of "JPath::find"
From Joomla! Documentation
(Layout updates) |
m (moving preparation) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JPath::find|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JPath::find|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function find ( |
+ | $paths | ||
+ | $file | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed The full path and file name for the target file, or boolean false if the file is not found in any of the paths. | |
− | mixed The full path and file name for the target file, or boolean false if the file is not found in any of the paths. | + | * '''Defined''' on line 229 of libraries/joomla/filesystem/path.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/filesystem/path.php | + | * '''Referenced by''' |
− | * | + | ** [[API17:JHtml::_|JHtml::_]] |
− | + | ** [[API17:JController::createView|JController::createView]] | |
− | * [[JHtml::_ | + | ** [[API17:JTable::getInstance|JTable::getInstance]] |
− | * [[JController::createView | + | ** [[API17:JCacheStorage::getInstance|JCacheStorage::getInstance]] |
− | * [[JTable::getInstance | + | ** [[API17:JModel::getInstance|JModel::getInstance]] |
− | * [[JCacheStorage::getInstance | + | ** [[API17:JCacheController::getInstance|JCacheController::getInstance]] |
− | * [[JModel::getInstance | + | ** [[API17:JToolBar::loadButtonType|JToolBar::loadButtonType]] |
− | * [[JCacheController::getInstance | + | ** [[API17:JFormHelper::loadClass|JFormHelper::loadClass]] |
− | * [[JToolBar::loadButtonType | + | ** [[API17:JParameter::loadElement|JParameter::loadElement]] |
− | * [[JFormHelper::loadClass | + | ** [[API17:JForm::loadFile|JForm::loadFile]] |
− | * [[JParameter::loadElement | + | ** [[API17:JView::loadHelper|JView::loadHelper]] |
− | * [[JForm::loadFile | + | ** [[API17:JView::loadTemplate|JView::loadTemplate]] |
− | * [[JView::loadHelper | ||
− | * [[JView::loadTemplate | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JPath::find source code''' on [[jplatform:filesystem/path.php#cl-221|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JPath|JPath]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] | ||
+ | * [[API17:JPath::find|Other versions of JPath::find]] | ||
+ | {{SeeAlso:JPath::find}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JPath::find|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JPath::find|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 65: | Line 65: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:19, 11 May 2013
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.
JPath::find[edit]
Description[edit]
Searches the directory paths for a given file.
Template:Description:JPath::find [Edit Descripton]
public static function find (
$paths
$file
)
Parameter | Type | Default | Description |
---|---|---|---|
$paths | string | An path or array of path to search in | |
$file | string | The file name to look for. |
- Returns mixed The full path and file name for the target file, or boolean false if the file is not found in any of the paths.
- Defined on line 229 of libraries/joomla/filesystem/path.php
- Since
- Referenced by
See also[edit]
- JPath::find source code on BitBucket
- Class JPath
- Subpackage Filesystem
- Other versions of JPath::find
Template:SeeAlso:JPath::find [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />