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
getDirname
CFile::getDirname PHP Method
CFile Class Documentation
Show file
Open project: idlesign/ist-yii-cfile
getDirname()
public
method
Returns the current file directory name (without final slash) from $_dirname property set by {@link pathInfo} (e.g.: '/var/www/htdocs/files' for '/var/www/htdocs/files/myfile.htm')
public
getDirname
( ) :
string
return
string
Current file directory name
public function getDirname() { return $this->_dirname; }
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