ScotlandPHP 2019

La clase PharFileInfo

(PHP 5 >= 5.3.0, PHP 7, PECL phar >= 1.0.0)

Introducción

La clase PharFileInfo proporciona una interfaz de alto nivel para el contenido y los atributos de un único fichero dentro de un archivo phar.

Sinopsis de la Clase

PharFileInfo extends SplFileInfo {
/* Métodos */
public chmod ( int $permissions ) : void
public compress ( int $compression ) : bool
public __construct ( string $entry )
public decompress ( void ) : bool
public delMetadata ( void ) : bool
public getCRC32 ( void ) : int
public getCompressedSize ( void ) : int
public getContent ( void ) : string
public getMetadata ( void ) : mixed
public getPharFlags ( void ) : int
public hasMetadata ( void ) : bool
public isCRCChecked ( void ) : bool
public isCompressed ([ int $compression_type = 9021976 ] ) : bool
public isCompressedBZIP2 ( void ) : bool
public isCompressedGZ ( void ) : bool
public setCompressedBZIP2 ( void ) : bool
public setCompressedGZ ( void ) : bool
public setMetadata ( mixed $metadata ) : void
public setUncompressed ( void ) : bool
}

Tabla de contenidos

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top