Keine Cache-Version

Caching deaktiviert Standardeinstellung für diese Seite:aktiviert (code LNG204)
Wenn die Anzeige zu langsam ist, können Sie den Benutzermodus deaktivieren, um die zwischengespeicherte Version anzuzeigen.

Rechercher une fonction PHP

The PharData class

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

Einführung

The PharData class provides a high-level interface to accessing and creating non-executable tar and zip archives. Because these archives do not contain a stub and cannot be executed by the phar extension, it is possible to create and manipulate regular zip and tar files using the PharData class even if phar.readonly php.ini setting is 1.

Erste Seite von PHP-Handbuch Inhaltsverzeichnis Haut

Klassenbeschreibung

PharData extends RecursiveDirectoryIterator {
/* Geerbte Konstanten */
const integer FilesystemIterator::KEY_MODE_MASK = 3840 ;
const integer FilesystemIterator::SKIP_DOTS = 4096 ;
const integer FilesystemIterator::UNIX_PATHS = 8192 ;
/* Methoden */
addEmptyDir ( string $dirname ) : void
public Phar::addFile ( string $file [, string $localname ] ) : void
addFromString ( string $localname , string $contents ) : void
public Phar::buildFromDirectory ( string $base_dir [, string $regex ] ) : array
buildFromIterator ( Iterator $iter [, string $base_directory ] ) : array
compress ( int $compression [, string $extension ] ) : object
compressFiles ( int $compression ) : void
__construct ( string $fname [, int $flags [, string $alias [, int $format = Phar::TAR ]]] )
convertToData ([ int $format [, int $compression [, string $extension ]]] ) : PharData
convertToExecutable ([ int $format [, int $compression [, string $extension ]]] ) : Phar
copy ( string $oldfile , string $newfile ) : bool
decompress ([ string $extension ] ) : object
decompressFiles ( void ) : bool
delMetadata ( void ) : bool
delete ( string $entry ) : bool
extractTo ( string $pathto [, string|array $files [, bool $overwrite = FALSE ]] ) : bool
isWritable ( void ) : bool
offsetSet ( string $offset , string $value ) : void
offsetUnset ( string $offset ) : bool
setAlias ( string $alias ) : bool
setDefaultStub ([ string $index [, string $webindex ]] ) : bool
public Phar::setMetadata ( mixed $metadata ) : void
public Phar::setSignatureAlgorithm ( int $sigtype ) : void
setStub ( string $stub [, int $len = -1 ] ) : bool
/* Geerbte Methoden */
public Phar::addEmptyDir ( string $dirname ) : void
public Phar::addFile ( string $file [, string $localname ] ) : void
public Phar::addFromString ( string $localname , string $contents ) : void
final public static Phar::apiVersion ( void ) : string
public Phar::buildFromDirectory ( string $base_dir [, string $regex ] ) : array
public Phar::buildFromIterator ( Iterator $iter [, string $base_directory ] ) : array
final public static Phar::canCompress ([ int $type = 0 ] ) : bool
final public static Phar::canWrite ( void ) : bool
public Phar::compress ( int $compression [, string $extension ] ) : object
public Phar::compressAllFilesBZIP2 ( void ) : bool
public Phar::compressAllFilesGZ ( void ) : bool
public Phar::compressFiles ( int $compression ) : void
public Phar::__construct ( string $fname [, int $flags [, string $alias ]] )
public Phar::convertToData ([ int $format = 9021976 [, int $compression = 9021976 [, string $extension ]]] ) : PharData
public Phar::convertToExecutable ([ int $format = 9021976 [, int $compression = 9021976 [, string $extension ]]] ) : Phar
public Phar::copy ( string $oldfile , string $newfile ) : bool
public Phar::count ( void ) : int
final public static Phar::createDefaultStub ([ string $indexfile [, string $webindexfile ]] ) : string
public Phar::decompress ([ string $extension ] ) : object
public Phar::decompressFiles ( void ) : bool
public Phar::delMetadata ( void ) : bool
public Phar::delete ( string $entry ) : bool
public Phar::extractTo ( string $pathto [, string|array $files [, bool $overwrite = FALSE ]] ) : bool
public Phar::getAlias ( void ) : string
public Phar::getMetadata ( void ) : mixed
public Phar::getModified ( void ) : bool
public Phar::getPath ( void ) : string
public Phar::getSignature ( void ) : array
public Phar::getStub ( void ) : string
final public static Phar::getSupportedCompression ( void ) : array
final public static Phar::getSupportedSignatures ( void ) : array
public Phar::getVersion ( void ) : string
public Phar::hasMetadata ( void ) : bool
final public static Phar::interceptFileFuncs ( void ) : void
public Phar::isBuffering ( void ) : bool
public Phar::isCompressed ( void ) : mixed
public Phar::isFileFormat ( int $format ) : bool
final public static Phar::isValidPharFilename ( string $filename [, bool $executable = TRUE ] ) : bool
public Phar::isWritable ( void ) : bool
final public static Phar::loadPhar ( string $filename [, string $alias ] ) : bool
final public static Phar::mapPhar ([ string $alias [, int $dataoffset = 0 ]] ) : bool
final public static Phar::mount ( string $pharpath , string $externalpath ) : void
final public static Phar::mungServer ( array $munglist ) : void
public Phar::offsetExists ( string $offset ) : bool
public Phar::offsetGet ( string $offset ) : int
public Phar::offsetSet ( string $offset , string $value ) : void
public Phar::offsetUnset ( string $offset ) : bool
final public static Phar::running ([ bool $retphar = TRUE ] ) : string
public Phar::setAlias ( string $alias ) : bool
public Phar::setDefaultStub ([ string $index [, string $webindex ]] ) : bool
public Phar::setMetadata ( mixed $metadata ) : void
public Phar::setSignatureAlgorithm ( int $sigtype [, string $privatekey ] ) : void
public Phar::setStub ( string $stub [, int $len = -1 ] ) : bool
public Phar::startBuffering ( void ) : void
public Phar::stopBuffering ( void ) : void
public Phar::uncompressAllFiles ( void ) : bool
final public static Phar::unlinkArchive ( string $archive ) : bool
final public static Phar::webPhar ([ string $alias [, string $index = "index.php" [, string $f404 [, array $mimetypes [, callable $rewrites ]]]]] ) : void
}

Erste Seite von PHP-Handbuch Inhaltsverzeichnis Haut

Inhaltsverzeichnis

Finde eine PHP-Funktion

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 30/01/2003, zuletzt geändert 26/10/2018
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/php-rf-class.phardata.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Manuel PHP : http://php.net

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.

Inhaltsverzeichnis Haut