The RarArchive class

(PECL rar >= 2.0.0)

¼ò½é

This class represents a RAR archive, which may be formed by several volumes (parts) and which contains a number of RAR entries (i.e., files, directories and other special objects such as symbolic links).

Objects of this class can be traversed, yielding the entries stored in the respective RAR archive. Those entries can also be obtained through RarArchive::getEntry() and RarArchive::getEntries().

ÀàÕªÒª

final RarArchive implements Traversable {
/* ·½·¨ */
public close ( void ) : bool
public getComment ( void ) : string
public getEntries ( void ) : array
public getEntry ( string $entryname ) : RarEntry
public isBroken ( void ) : bool
public isSolid ( void ) : bool
public static open ( string $filename [, string $password = NULL [, callable $volume_callback = NULL ]] ) : RarArchive
public setAllowBroken ( bool $allow_broken ) : bool
public __toString ( void ) : string
}

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.