API17

JFile::getExt: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Gets the extension of a file name.  
Gets the extension of a file name.  


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


<source lang="php">
<source lang="php">
Line 34: 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]]
{{subst:SeeAlso:JFile::getExt}}
 


===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=*

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