API17:JApplicationHelper:: checkPath
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.
JApplicationHelper::_checkPath
Description
Tries to find a file in the administrator or site areas.
Description:JApplicationHelper:: checkPath [Edit Descripton]
Since
Synopsis
protected static JApplicationHelper::_checkPath ($path, $checkAdmin=1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | string | A file name | |
| $checkAdmin | integer | 1 | 0 to check site only, 1 to check site and admin, -1 to check admin only |
Returns
Defined in
libraries/joomla/application/helper.php (line 352)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JApplicationHelper:: checkPath
Examples
<CodeExamplesForm />
