API17:JFolder::exists
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFolder::exists|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFolder::exists|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | 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''' boolean True if path is a folder | |
| − | boolean True if path is a folder | + | * '''Defined''' on line 442 of libraries/joomla/filesystem/folder.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/filesystem/folder.php | + | * '''Referenced by''' |
| − | * | + | ** [[JLanguage::exists/11.1|JLanguage::exists]] |
| − | + | ** [[JInstaller::install/11.1|JInstaller::install]] | |
| − | * [[JLanguage::exists/11.1|JLanguage::exists]] | + | ** [[JInstallerFile::install/11.1|JInstallerFile::install]] |
| − | * [[JInstaller::install/11.1|JInstaller::install]] | + | ** [[JInstaller::parseLanguages/11.1|JInstaller::parseLanguages]] |
| − | * [[JInstallerFile::install/11.1|JInstallerFile::install]] | + | ** [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]] |
| − | * [[JInstaller::parseLanguages/11.1|JInstaller::parseLanguages]] | + | ** [[JInstallerTemplate::uninstall/11.1|JInstallerTemplate::uninstall]] |
| − | * [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]] | + | ** [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]] |
| − | * [[JInstallerTemplate::uninstall/11.1|JInstallerTemplate::uninstall]] | + | ** [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]] |
| − | * [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]] | + | ** [[JInstallerHelper::unpack/11.1|JInstallerHelper::unpack]] |
| − | * [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]] | + | ** [[JInstaller::update/11.1|JInstaller::update]] |
| − | * [[JInstallerHelper::unpack/11.1|JInstallerHelper::unpack]] | + | |
| − | * [[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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 58: | 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
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.
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 |
- Returns boolean True if path is a folder
- Defined on line 442 of libraries/joomla/filesystem/folder.php
- Since
- Referenced by
See also
-
JFolder::exists source code on BitBucket
-
Class JFolder
-
Subpackage Filesystem
- Other versions of JFolder::exists
SeeAlso:JFolder::exists [Edit See Also]
User contributed notes
<CodeExamplesForm />
