downloads | documentation | faq | getting help | mailing lists | reporting bugs | sites | links | my 
search for in the  
Last updated: Mon, 16 Jul 2012


(no version information, might be only in CVS)

Rar::getMethod -- Get pack method of the entry


int Rar::getMethod ( void )

Rar::getMethod() returns number of the method used when adding current archive entry.

例子 1. Rar::getMethod() example


= rar_open('example.rar') or die("Failed to open Rar archive");

$entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("Failed to find such entry");

"Method number: " . $entry->getMethod();


Rar::getMethod() returns FALSE on error.

 Last updated: Mon, 16 Jul 2012
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at:
Last updated: Thu Jul 7 19:13:47 2005 CST