PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Rar::getName> <Rar::getHostOs
Last updated: Fri, 26 Sep 2008

view this page in

Rar::getMethod

(No version information available, might be only in CVS)

Rar::getMethodВозвращает метод компрессии элемента массива

Описание

int Rar::getMethod ( void )

Rar::getMethod() Возвращает номер метода, который был использован при архивации элемента.

Пример #1 Rar::getMethod() пример использования

<?php

$rar_file 
rar_open('example.rar') or die("Невозможно открыть Rar архив");

$entry rar_entry_get($rar_file'Dir/file.txt') or die("Такого элемента в архиве не существует");

echo 
"Номер метода: " $entry->getMethod();

?>

Rar::getMethod() возвращает FALSE при ошибке.



add a note add a note User Contributed Notes
Rar::getMethod
There are no user contributed notes for this page.

Rar::getName> <Rar::getHostOs
Last updated: Fri, 26 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites