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, 05 Sep 2008

view this page in

Rar::getMethod

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

Rar::getMethodエントリの圧縮方法を取得する

説明

Rar
int getMethod ( void )

Rar::getMethod() は、現在のアーカイブエントリを 追加する際に使用したメソッドの番号を返します。

返り値

メソッド番号、あるいはエラー時に FALSE を返します。

例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();

?>



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, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites