API17:JFile::getName
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 30: | Line 30: | ||
string filename | string filename | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/filesystem/file.php | + | libraries/joomla/filesystem/file.php (line 439) |
| + | * see source code in [[jplatform:filesystem/file.php#cl-439|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
| − | * [[JArchive | + | * [[JArchive::extract/11.1|JArchive::extract]] |
| − | * [[JFormFieldComponentLayout | + | * [[JFormFieldComponentLayout::getInput/11.1|JFormFieldComponentLayout::getInput]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 20:30, 23 April 2011
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::getName
Description
Returns the name, without any path.
Description:JFile::getName [Edit Descripton]
Since
Synopsis
public static JFile::getName ($file)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $file | string | File path |
Returns
string filename
Defined in
libraries/joomla/filesystem/file.php (line 439)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
