HaxeAPI
  • Version 4.3.5
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.5
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

class PharFileInfo

package php

extends SplFileInfo

@:native("PharFileInfo")

Available on php

The PharFileInfo class provides a high-level interface to the contents and attributes of a single file within a PHAR archive.

See also:

  • https://www.php.net/manual/en/class.pharfileinfo

Constructor

new(entry:String)

Methods

chmod(permissions:Int):Void

compress(compression:Int):Bool

decompress():Bool

delMetadata():Bool

getCRC32():Int

getCompressedSize():Int

getContent():String

getMetadata():Dynamic

getPharFlags():Int

hasMetadata():Bool

isCRCChecked():Bool

isCompressed(?compression_type:Int):Bool

setMetadata(metadata:Any):Void

Inherited Variables

Inherited Methods

Defined by SplFileInfo

getATime():EitherType<Int, Bool>

@:value({ suffix : "" })getBasename(suffix:String = ""):String

getCTime():EitherType<Int, Bool>

getExtension():String

getFileInfo(?className:String):SplFileInfo

getFilename():String

getGroup():EitherType<Int, Bool>

getInode():EitherType<Int, Bool>

getLinkTarget():EitherType<String, Bool>

getMTime():EitherType<Int, Bool>

getOwner():EitherType<Int, Bool>

getPath():String

getPathInfo(?className:String):Null<SplFileInfo>

getPathname():String

getPerms():EitherType<Int, Bool>

getRealPath():EitherType<String, Bool>

getSize():EitherType<Int, Bool>

getType():EitherType<SplFileInfoType, Bool>

isDir():Bool

isExecutable():Bool

isFile():Bool

isLink():Bool

isReadable():Bool

isWritable():Bool

@:value({ useIncludePath : false, mode : "r" })openFile(mode:String = "r", useIncludePath:Bool = false, ?context:Resource):SplFileObject

setFileClass(?className:String):Void

setInfoClass(?className:String):Void

This documentation is generated for version 4.3.5

© 2024  Haxe Foundation | Contribute to Haxe