API17

JFile::getExt: Difference between revisions

From Joomla! Documentation

m JoomlaWikiBot moved page JFile::getExt/11.1 to API17:JFile::getExt without leaving a redirect: Robot: Moved page
m preparing for archive only
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
Gets the extension of a file name.  
Gets the extension of a file name.  


{{Description:JFile::getExt}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JFile::getExt|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public static function getExt ($file)
public static function getExt ($file)
Line 28: Line 26:
* '''Since''' {{JVer|11.1 }}
* '''Since''' {{JVer|11.1 }}
* '''Referenced by'''
* '''Referenced by'''
** [[JArchive::extract/11.1|JArchive::extract]]
** [[API17:JArchive::extract|JArchive::extract]]
** [[JAdapter::loadAllAdapters/11.1|JAdapter::loadAllAdapters]]
** [[API17:JAdapter::loadAllAdapters|JAdapter::loadAllAdapters]]
** [[JStream::open/11.1|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/11.1|JFile]]
* {{JVer|11.1}} Class [[API17:JFile|JFile]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|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}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFile::getExt|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JFile::getExt
category=JFile::getExt
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
Line 51: Line 47:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JFile]][[Category:JFile::getExt]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:01, 25 March 2017

Joomla 11.1 JFile::getExt

Description

Gets the extension of a file name.


public static function getExt ($file)
Parameter Type Default Description
$file string The file name

See also


User contributed notes

Code Examples