API17

JFile::getExt: Difference between revisions

From Joomla! Documentation

m moving preparation
m clean up
Line 4: Line 4:
Gets the extension of a file name.  
Gets the extension of a file name.  


{{Description:JFile::getExt}}
{{subst: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 36: Line 34:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* [[API17:JFile::getExt|Other versions of JFile::getExt]]
* [[API17:JFile::getExt|Other versions of JFile::getExt]]
{{SeeAlso:JFile::getExt}}
{{subst: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 />
<CodeExamplesForm />

Revision as of 15:27, 24 March 2017

Joomla 11.1 JFile::getExt

Description

Gets the extension of a file name.

{{subst:Description:JFile::getExt}}

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

See also

{{subst:SeeAlso:JFile::getExt}}

User contributed notes

<CodeExamplesForm />