JFile::getName
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFile::getName[edit]
Description[edit]
Returns the name, without any path.
Template:Description:JFile::getName [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JFile::getName ($file)
Parameter | Type | Default | Description |
---|---|---|---|
$file | string | File path |
Returns[edit]
string filename
Defined in[edit]
libraries/joomla/filesystem/file.php (line 439)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JFile::getName
Examples[edit]
<CodeExamplesForm />