JFile::getExt: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m moving preparation |
||
| Line 28: | Line 28: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
** [[JArchive::extract | ** [[API17:JArchive::extract|JArchive::extract]] | ||
** [[JAdapter::loadAllAdapters | ** [[API17:JAdapter::loadAllAdapters|JAdapter::loadAllAdapters]] | ||
** [[JStream::open | ** [[API17:JStream::open|JStream::open]] | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFile::getExt source code''' on [[jplatform:filesystem/file.php#cl-24|BitBucket]] | * {{JVer|11.1}} '''JFile::getExt source code''' on [[jplatform:filesystem/file.php#cl-24|BitBucket]] | ||
* {{JVer|11.1}} Class [[JFile | * {{JVer|11.1}} Class [[API17:JFile|JFile]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] | ||
* [[JFile::getExt|Other versions of JFile::getExt]] | * [[API17:JFile::getExt|Other versions of JFile::getExt]] | ||
{{SeeAlso:JFile::getExt}} | {{SeeAlso:JFile::getExt}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 01:39, 12 May 2013
JFile::getExt
Description
Gets the extension of a file name.
Template: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
Template:SeeAlso:JFile::getExt [Edit See Also]
User contributed notes
<CodeExamplesForm />