Actions

API17

Difference between revisions of "JFolder::exists"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JFolder::exists|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JFolder::exists|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JFolder::exists ($path)
+
public static function exists ($path)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|string
 
|string
 
|
 
|
|Folder name relative to installation dir  
+
|Folder name relative to installation dir
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if path is a folder
boolean True if path is a folder
+
* '''Defined''' on line 442 of libraries/joomla/filesystem/folder.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/folder.php
+
* '''Referenced by'''
===Referenced by===
+
** [[JLanguage::exists/11.1|JLanguage::exists]]
* [[JLanguage/exists/11.1|JLanguage::exists]]
+
** [[JInstaller::install/11.1|JInstaller::install]]
* [[JInstaller/install/11.1|JInstaller::install]]
+
** [[JInstallerFile::install/11.1|JInstallerFile::install]]
* [[JInstallerFile/install/11.1|JInstallerFile::install]]
+
** [[JInstaller::parseLanguages/11.1|JInstaller::parseLanguages]]
* [[JInstaller/parseLanguages/11.1|JInstaller::parseLanguages]]
+
** [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]]
* [[JInstaller/removeFiles/11.1|JInstaller::removeFiles]]
+
** [[JInstallerTemplate::uninstall/11.1|JInstallerTemplate::uninstall]]
* [[JInstallerTemplate/uninstall/11.1|JInstallerTemplate::uninstall]]
+
** [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]]
* [[JInstallerLibrary/uninstall/11.1|JInstallerLibrary::uninstall]]
+
** [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]]
* [[JInstallerLanguage/uninstall/11.1|JInstallerLanguage::uninstall]]
+
** [[JInstallerHelper::unpack/11.1|JInstallerHelper::unpack]]
* [[JInstallerHelper/unpack/11.1|JInstallerHelper::unpack]]
+
** [[JInstaller::update/11.1|JInstaller::update]]
* [[JInstaller/update/11.1|JInstaller::update]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JFolder::exists source code''' on [[jplatform:filesystem/folder.php#cl-434|BitBucket]]
 +
* {{JVer|11.1}} Class [[JFolder/11.1|JFolder]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
 +
* [[JFolder::exists|Other versions of JFolder::exists]]
 +
{{SeeAlso:JFolder::exists}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFolder::exists|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JFolder::exists|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JFolder/11.1|JFolder]]
+
===User contributed notes===
* [[JFolder::exists|Other versions of this method]]
+
{{SeeAlso:JFolder::exists}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 57: Line 55:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JFolder]][[Category:JFolder::exists]]</noinclude>
 
<noinclude>[[Category:JFolder]][[Category:JFolder::exists]]</noinclude>

Revision as of 20:57, 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 JFolder::exists

Description

Wrapper for the standard file_exists function.

Description:JFolder::exists [Edit Descripton]

public static function exists ($path)
Parameter Type Default Description
$path string Folder name relative to installation dir

See also

SeeAlso:JFolder::exists [Edit See Also]

User contributed notes

<CodeExamplesForm />