Difference between revisions of "JFolder::exists"
From Joomla! Documentation
m (JoomlaWikiBot moved page JFolder::exists/11.1 to API17:JFolder::exists without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Wrapper for the standard file_exists function. | Wrapper for the standard file_exists function. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function exists ($path) | public static function exists ($path) | ||
Line 28: | Line 26: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JLanguage::exists | + | ** [[API17:JLanguage::exists|JLanguage::exists]] |
− | ** [[JInstaller::install | + | ** [[API17:JInstaller::install|JInstaller::install]] |
− | ** [[JInstallerFile::install | + | ** [[API17:JInstallerFile::install|JInstallerFile::install]] |
− | ** [[JInstaller::parseLanguages | + | ** [[API17:JInstaller::parseLanguages|JInstaller::parseLanguages]] |
− | ** [[JInstaller::removeFiles | + | ** [[API17:JInstaller::removeFiles|JInstaller::removeFiles]] |
− | ** [[JInstallerTemplate::uninstall | + | ** [[API17:JInstallerTemplate::uninstall|JInstallerTemplate::uninstall]] |
− | ** [[JInstallerLibrary::uninstall | + | ** [[API17:JInstallerLibrary::uninstall|JInstallerLibrary::uninstall]] |
− | ** [[JInstallerLanguage::uninstall | + | ** [[API17:JInstallerLanguage::uninstall|JInstallerLanguage::uninstall]] |
− | ** [[JInstallerHelper::unpack | + | ** [[API17:JInstallerHelper::unpack|JInstallerHelper::unpack]] |
− | ** [[JInstaller::update | + | ** [[API17:JInstaller::update|JInstaller::update]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFolder::exists source code''' on [[jplatform:filesystem/folder.php#cl-434|BitBucket]] | * {{JVer|11.1}} '''JFolder::exists source code''' on [[jplatform:filesystem/folder.php#cl-434|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JFolder | + | * {{JVer|11.1}} Class [[API17:JFolder|JFolder]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JFolder::exists|Other versions of JFolder::exists]] | + | * [[API17:JFolder::exists|Other versions of JFolder::exists]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFolder::exists | category=JFolder::exists | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 58: | Line 54: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:03, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFolder::exists[edit]
Description[edit]
Wrapper for the standard file_exists function.
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[edit]
- JFolder::exists source code on BitBucket
- Class JFolder
- Subpackage Filesystem
- Other versions of JFolder::exists
User contributed notes[edit]
Code Examples[edit]