API17:JFile::getExt
From Joomla! Documentation
JFile::getExt
Description
Gets the extension of a file name.
public static function getExt ($file)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $file | string | The file name |
- Returns string The file extension
- Defined on line 32 of libraries/joomla/filesystem/file.php
- Since

- Referenced by
See also
JFile::getExt source code on BitBucket
Class JFile
Subpackage Filesystem- Other versions of JFile::getExt
User contributed notes
Code Examples