JFile::exists
From Joomla! Documentation
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.
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
See also[edit]
- JFile::exists source code on BitBucket
- Class JFile
- Subpackage Filesystem
- Other versions of JFile::exists
User contributed notes[edit]
Code Examples[edit]