API17:JFile::getExt
From Joomla! Documentation
JFile::getExt
Description
Gets the extension of a file name.
Template: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
Referenced by
See also
Template:SeeAlso:JFile::getExt
Examples
<CodeExamplesForm />