Actions

API17

Difference between revisions of "JApplicationHelper:: checkPath"

From Joomla! Documentation

(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>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected static JApplicationHelper::_checkPath ($path, $checkAdmin=1)
+
protected static function _checkPath (
 +
        $path
 +
        $checkAdmin=1
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 352 of libraries/joomla/application/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/helper.php (line 352)
+
* see source code in [[jplatform:application/helper.php#cl-352|BitBucket]]
+
===Referenced by===
+
 
===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>
* [[JApplicationHelper/11.1|JApplicationHelper]]
+
===User contributed notes===
* [[JApplicationHelper::_checkPath|Other versions of this method]]
+
{{SeeAlso:JApplicationHelper::_checkPath}}
+
===Examples===
+
 
<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 19:09, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 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
  • Returns
  • Defined on line 352 of libraries/joomla/application/helper.php
  • Since Joomla 11.1

See also

SeeAlso:JApplicationHelper:: checkPath [Edit See Also]

User contributed notes

<CodeExamplesForm />