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

search for in the

RarEntry::getName> <RarEntry::getHostOs
[edit] Last updated: Fri, 25 May 2012

view this page in

RarEntry::getMethod

(PECL rar >= 0.1)

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

説明

public int RarEntry::getMethod ( void )

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

パラメータ

この関数にはパラメータはありません。

返り値

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

例1 RarEntry::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 RarEntry::getMethod
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites