PharFileInfo クラスはじめにPharFileInfo クラスは、 phar アーカイブ内の個々のファイルのコンテンツや属性への 高レベルインターフェイスを提供します。 クラス概要
PharFileInfo
extends
SplFileInfo
/* メソッド */
public PharFileInfo::__construct(string
$filename )public void PharFileInfo::chmod(int
$perms )public bool PharFileInfo::compress(int
$compression )public bool PharFileInfo::decompress()
public bool PharFileInfo::delMetadata()
public int PharFileInfo::getCRC32()
public int PharFileInfo::getCompressedSize()
public string PharFileInfo::getContent()
public mixed PharFileInfo::getMetadata(array
$unserializeOptions = [])public int PharFileInfo::getPharFlags()
public bool PharFileInfo::hasMetadata()
public bool PharFileInfo::isCRCChecked()
public bool PharFileInfo::isCompressed(intnull
$compression = null )public void PharFileInfo::setMetadata(mixed
$metadata )public PharFileInfo::__destruct()
/* 継承したメソッド */
public intfalse getATime()
public string getBasename(string
$suffix = "")public intfalse getCTime()
public string getExtension()
public SplFileInfo getFileInfo(stringnull
$class = null )public string getFilename()
public intfalse getGroup()
public intfalse getInode()
public stringfalse getLinkTarget()
public intfalse getMTime()
public intfalse getOwner()
public string getPath()
public SplFileInfonull getPathInfo(stringnull
$class = null )public string getPathname()
public intfalse getPerms()
public stringfalse getRealPath()
public intfalse getSize()
public stringfalse getType()
public bool isDir()
public bool isExecutable()
public bool isFile()
public bool isLink()
public bool isReadable()
public bool isWritable()
public SplFileObject openFile(string
$mode = "r", bool $useIncludePath = false , resourcenull $context = null )public void setFileClass(string
$class = SplFileObject::class)public void setInfoClass(string
$class = SplFileInfo::class)public string __toString()
|