The Phar class

Introduction

The Phar class provides a high-level interface to accessing and creating phar archives.

Class synopsis

Phar
Phar extends DirectoryIterator implements Countable , ArrayAccess {
/* Properties */
/* Methods */
bool Phar::addEmptyDir ( string $dirname )
bool Phar::addFile ( string $file [, string $localname ] )
bool Phar::addFromString ( string $localname , string $contents )
string Phar::apiVersion ( void )
array Phar::buildFromDirectory ( string $base_dir [, string $regex ] )
array Phar::buildFromIterator ( Iterator $iter [, string $base_directory ] )
bool Phar::canCompress ([ int $type ] )
bool Phar::canWrite ( void )
object Phar::compress ( int $compression [, string $extension ] )
bool Phar::compressFiles ( int $compression )
void Phar::__construct ( string $fname [, int $flags [, string $alias ]] )
PharData Phar::convertToData ([ int $format [, int $compression [, string $extension ]]] )
Phar Phar::convertToExecutable ([ int $format [, int $compression [, string $extension ]]] )
bool Phar::copy ( string $oldfile , string $newfile )
int Phar::count ( void )
string Phar::createDefaultStub ( void )
object Phar::decompress ([ string $extension ] )
bool Phar::decompressFiles ( void )
int Phar::delMetadata ( void )
int Phar::delete ( string $entry )
int Phar::extractTo ( string $pathto [, string|array $files [, bool $overwrite ]] )
int Phar::getMetaData ( void )
bool Phar::getModified ( void )
array Phar::getSignature ( void )
string Phar::getStub ( void )
string Phar::getVersion ( void )
int Phar::hasMetadata ( void )
bool Phar::isBuffering ( void )
mixed Phar::isCompressed ( void )
bool Phar::isFileFormat ( int $format )
bool Phar::isValidPharFilename ( string $filename [, bool $executable ] )
bool Phar::isWritable ( void )
mixed Phar::loadPhar ( string $filename [, string $alias ] )
mixed Phar::mapPhar ([ string $alias [, int $dataoffset ]] )
void Phar::mount ( string $pharpath , string $externalpath )
void Phar::mungServer ( array $munglist )
bool Phar::offsetExists ( string $offset )
int Phar::offsetGet ( string $offset )
void Phar::offsetSet ( string $offset , string $value )
bool Phar::offsetUnset ( string $offset )
bool Phar::running ([ bool $retphar ] )
bool Phar::setAlias ( string $alias )
void Phar::setDefaultStub ([ string $index [, string $webindex ]] )
void Phar::setMetadata ( mixed $metadata )
array Phar::setSignatureAlgorithm ( int $sigtype [, string $privatekey ] )
void Phar::setStub ( string $stub )
void Phar::startBuffering ( void )
void Phar::stopBuffering ( void )
bool Phar::unlinkArchive ( string $archive )
void Phar::webPhar ( string $alias , string $index , string $f404 , array $mimetypes , array $rewrites )
}

Table of Contents


    

 

 

Home || Web Directroy || Web Designing || Get a Domain Name || Host your web site || Free Blogs || Free Tutorial || Free E-cards || Free GuestBook || Email