API17:JPath::find
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JPath::find
Description
Searches the directory paths for a given file.
Description:JPath::find [Edit Descripton]
Since
Synopsis
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
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
libraries/joomla/filesystem/path.php
Referenced by
- 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
Examples
<CodeExamplesForm />
