Difference between revisions of "JFile::exists"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (JoomlaWikiBot moved page JFile::exists/11.1 to API17:JFile::exists without leaving a redirect: Robot: Moved page) |
(No difference)
|
Revision as of 17:58, 10 May 2013
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.
JFile::exists[edit]
Description[edit]
Wrapper for the standard file_exists function.
Template:Description:JFile::exists [Edit Descripton]
public static function exists ($file)
Parameter | Type | Default | Description |
---|---|---|---|
$file | string | File path |
- Returns boolean True if path is a file
- Defined on line 441 of libraries/joomla/filesystem/file.php
- Since
- Referenced by
- JInstallerLanguage::_install
- JEditor::_loadEditor
- [[JHelp::createURL/11.1|JHelp::createURL]]
- JInstallerLanguage::update
See also[edit]
- JFile::exists source code on BitBucket
- Class JFile
- Subpackage Filesystem
- Other versions of JFile::exists
Template:SeeAlso:JFile::exists [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />