JFile::exists
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 />