Public メソッド | |
toString () | |
Static Public メソッド | |
static | getItems (&$template, $response) |
ウェブサービス トラベルAPIから取得したホテル情報をテンプレートを使った 表示用 HTML として扱う為のクラスです。
FormattedItem.php の 27 行で定義されています。
static getItems | ( | &$ | template, |
$ | response | ||
) | [static] |
ウェブサービス トラベルAPIから取得したレスポンスからホテル情報のリストを抽出します。
$template | テンプレートファイル中の文字列 |
$response | ホテルAPIからのレスポンスSimpleXMLElementオブジェクト |
FormattedItem.php の 112 行で定義されています。
toString | ( | ) |
item中にあったホテル情報を、テンプレートを使ってHTML化した文字列を返します。
FormattedItem.php の 101 行で定義されています。