API17

JPath::find

From Joomla! Documentation

Revision as of 21:04, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

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.

Joomla 11.1 JPath::find[edit]

Description[edit]

Searches the directory paths for a given file.

Template:Description:JPath::find [Edit Descripton]

Since[edit]

Joomla 11.1

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)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JPath::find

Examples[edit]

<CodeExamplesForm />