Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
FOF30
Platform
Base
Filesystem
getExt
FOF30\Platform\Base\Filesystem::getExt PHP Method
Filesystem Class Documentation
Mostra file
Open project: akeeba/fof
getExt()
public
method
Gets the extension of a file name
public
getExt
(
string
$file
) :
string
$file
string
The file name
return
string
The file extension
public function getExt($file) { $dot = strrpos($file, '.') + 1; return substr($file, $dot); }
Filesystem
__construct
getExt
getFiles
scanDirectory
stripExt