API17:JFile::getExt
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFile::getExt
Description
Gets the extension of a file name.
Description:JFile::getExt [Edit Descripton]
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
SeeAlso:JFile::getExt [Edit See Also]
User contributed notes
<CodeExamplesForm />
