API17:JApplicationHelper:: checkPath
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JApplicationHelper::_checkPath|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JApplicationHelper::_checkPath|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | protected static | + | protected static function _checkPath ( |
| + | $path | ||
| + | $checkAdmin=1 | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 352 of libraries/joomla/application/helper.php | |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/application/helper.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JApplicationHelper::_checkPath source code''' on [[jplatform:application/helper.php#cl-344|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JApplicationHelper/11.1|JApplicationHelper]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | ||
| + | * [[JApplicationHelper::_checkPath|Other versions of JApplicationHelper::_checkPath]] | ||
| + | {{SeeAlso:JApplicationHelper::_checkPath}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JApplicationHelper::_checkPath|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JApplicationHelper::_checkPath|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JApplicationHelper]][[Category:JApplicationHelper::_checkPath]]</noinclude> | <noinclude>[[Category:JApplicationHelper]][[Category:JApplicationHelper::_checkPath]]</noinclude> | ||
Revision as of 20:09, 27 April 2011
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]
protected static function _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 |
See also
-
JApplicationHelper::_checkPath source code on BitBucket
-
Class JApplicationHelper
-
Subpackage Application
- Other versions of JApplicationHelper::_checkPath
SeeAlso:JApplicationHelper:: checkPath [Edit See Also]
User contributed notes
<CodeExamplesForm />
