JFile::getExt
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::getExt[edit]
Description[edit]
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[edit]
- JFile::getExt source code on BitBucket
- Class JFile
- Subpackage Filesystem
- Other versions of JFile::getExt
User contributed notes[edit]
Code Examples[edit]