API17

JFile::getExt: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
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/extract/11.1|JArchive::extract]]
* [[JArchive::extract/11.1|JArchive::extract]]
* [[JAdapter/loadAllAdapters/11.1|JAdapter::loadAllAdapters]]
* [[JAdapter::loadAllAdapters/11.1|JAdapter::loadAllAdapters]]
* [[JStream/open/11.1|JStream::open]]
* [[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

Joomla 11.1 JFile::getExt

Description

Gets the extension of a file name.

Template:Description:JFile::getExt [Edit Descripton]

Since

Joomla 11.1

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)

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JFile::getExt

Examples

<CodeExamplesForm />