API17:JFile::stripExt
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFile::stripExt
Description
Strips the last extension off a file name.
Description:JFile::stripExt [Edit Descripton]
Since
Synopsis
public static JFile::stripExt ($file)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $file | string | The file name |
Returns
string The file name without the extension
Defined in
libraries/joomla/filesystem/file.php
Referenced by
- JElementModuleLayouts::_getOptions
- JElementComponentLayouts::_getOptions
- JInstallerPlugin::discover
- JInstallerLibrary::discover
- JArchive::extract
- JFormFieldModuleLayout::getInput
- JFormFieldFileList::getOptions
- JAdapter::loadAllAdapters
- JPackageManifest::loadManifestFromXML
- JLibraryManifest::loadManifestFromXML
See also
Examples
<CodeExamplesForm />
