The RarArchive class

Introduction

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.

Class synopsis

RarArchive
final class RarArchive implements Traversable {
/* Methods */
public bool close()
public string getComment()
public arrayfalse getEntries()
public RarEntryfalse getEntry(string $entryname)
public bool isBroken()
public bool isSolid()
public static RarArchivefalse open(string $filename, string $password = NULL, callable $volume_callback = NULL)
public bool setAllowBroken(bool $allow_broken)
public string __toString()
}
Table of Contents