API17:JFile::exists
From Joomla! Documentation
JFile::exists
Description
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
JFile::exists source code on BitBucket
Class JFile
Subpackage Filesystem- Other versions of JFile::exists
User contributed notes
Code Examples