Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
CFile
getExtension
CFile::getExtension PHP Method
CFile Class Documentation
Show file
Open project: idlesign/ist-yii-cfile
getExtension()
public
method
Returns the current file extension from $_extension property set by {@link pathInfo} (e.g.: 'htm' for '/var/www/htdocs/files/myfile.htm').
public
getExtension
( ) :
string
return
string
Current file extension without the leading dot
public function getExtension() { return $this->_extension; }
CFile
__toString
addLog
close
copy
create
createDir
delete
dirContents
dirSize
download
exists
filterPassed
formatFileSize
formatNumber
getBasename
getContents
getDirname
getExists
getExtension
getFilename
getGroup
getInstance
getIsDir
getIsEmpty
getIsFile
getIsUploaded
getMimeType
getMimeTypeByExtension
getOwner
getPathOfAlias
getPermissions
getReadable
getRealPath
getRelativePath
getSize
getTimeCreated
getTimeModified
getWriteable
move
open
pathInfo
purge
realPath
rename
resolveDestPath
send
set
setBasename
setContents
setExtension
setFilename
setGroup
setOwner
setPermissions