JPath::find
From Joomla! Documentation
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]
Since[edit]
Synopsis[edit]
public static JPath::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[edit]
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 in[edit]
libraries/joomla/filesystem/path.php (line 226)
- see source code in BitBucket
Referenced by[edit]
- JHtml::_
- JController::createView
- JTable::getInstance
- JCacheStorage::getInstance
- JModel::getInstance
- JCacheController::getInstance
- JToolBar::loadButtonType
- JFormHelper::loadClass
- JParameter::loadElement
- JForm::loadFile
- JView::loadHelper
- JView::loadTemplate
See also[edit]
Examples[edit]
<CodeExamplesForm />