JFile::getExt: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 30: | Line 30: | ||
string The file extension | string The file extension | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/filesystem/file.php | libraries/joomla/filesystem/file.php (line 33) | ||
* see source code in [[jplatform:filesystem/file.php#cl-33|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
* [[JArchive | * [[JArchive::extract/11.1|JArchive::extract]] | ||
* [[JAdapter | * [[JAdapter::loadAllAdapters/11.1|JAdapter::loadAllAdapters]] | ||
* [[JStream | * [[JStream::open/11.1|JStream::open]] | ||
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 01:30, 24 April 2011
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 (line 33)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JFile::getExt
Examples
<CodeExamplesForm />