RarArchive::getEntries

rar_list

(PECL rar >= 2.0.0)

RarArchive::getEntries -- rar_list — Get full list of entries from the RAR archive


Описание

Объектно-ориентированный стиль вызова (method):

public array RarArchive::getEntries ( void )

Процедурный стиль вызова:

array rar_list ( RarArchive $rarfile )

Get entries list (files and directories) from the RAR archive.

Замечание:

If the archive has entries with the same name, this method, together with RarArchive foreach iteration and array-like access with numeric indexes, are the only ones to access all the entries (i.e., RarArchive::getEntry() and the rar:// wrapper are insufficient).


Список параметров

rarfile

A RarArchive object, opened with rar_open().


Возвращаемые значения

rar_list() returns array of RarEntry objects или FALSE в случае возникновения ошибки.


Описание класса rararchive, примеры использования класса rararchive.



Смотрите также:
Описание на ru2.php.net
Описание на php.ru