Service_YouTube

constructor Service_YouTube::__construct()

constructor Service_YouTube::__construct() - コンストラク

概要

require_once 'Service/YouTube.php';
void __construct( string $developerId, [ $options = array()])

説明

Service_YouTubeコアクラスのコンストラクタです。様々なオプションを設定するために、引数として連想配列を与えることができます。

パラメータ

string $developerId DeveloperIDを指定する
array $options さまざまなオプションを指定する

オプション データ型 デフォルト値 詳細
useCache bool false キャッシュ(Cache_Lite)の有効/無効を指定します
cacheOptions array array() キャッシュ(Cache_Lite)のオプションを指定します
responseFormat string object 結果の出力形式を指定します(objectまたはarray)
driver string rest 利用するプロトコルの指定します(restまたはxmlrpc)