getName

Navigation:  Development > Function Reference > Helpers > Utility >

getName

Previous pageReturn to chapter overviewNext page

Get name of a file.

 

App::Utility()->getName(File Name)

 

Parameter

Description

File Name

Name of the file to get extension.

 

 

See bellow example:
 

// Return "logo"
echo  App::Utility()->getName('logo.jpg');