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]
Since
Synopsis
public static JFile::getExt ($file)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $file | string | The file name |
Returns
string The file extension
Defined in
libraries/joomla/filesystem/file.php (line 33)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
