constructor
PEAR_REST::PEAR_REST()
constructor
PEAR_REST::PEAR_REST()
-- PEAR_REST
概要
require_once '/REST.php'; |
void constructor
PEAR_REST::PEAR_REST
(PEAR_Config
&$config, array
[$options = array()])
パラメータ
- PEAR_Config
&$config
Configuration オブジェクト。
- array
$options
install/download といったコマンドに渡すオプション。
PEAR_REST で使用できる唯一のオプションは offline
で、これはローカルのキャッシュからのみ取得を試み、
リモートリソースを取得しないようにします。
注意
この関数は、スタティックにコールする
ことはできません。