JPath::find
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 />