API17:JFile::getName
From Joomla! Documentation
JFile::getName
Description
Returns the name, without any path.
public static function getName ($file)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $file | string | File path |
- Returns string filename
- Defined on line 453 of libraries/joomla/filesystem/file.php
- Since

- Referenced by
See also
JFile::getName source code on BitBucket
Class JFile
Subpackage Filesystem- Other versions of JFile::getName
User contributed notes
Code Examples