Public メソッド | Protected メソッド | Protected 変数

クラス PageFrame

PageFrameに対する継承グラフ
PageSectionBase

Public メソッド

 __construct ($fileName)
 setHotelSearchFormFlag ($flag)
 isHotelSearchFormFlag ()
 setHotelSearchFormHTML ($innerHTML)
 getHotelSearchFormHTML ()
 setHotelSearchResultsFlag ($flag)
 isHotelSearchResultsFlag ()
 setHotelSearchResultsHTML ($innerHTML)
 getHotelSearchResultsHTML ()
 setHotelRecommendationFlag ($flag)
 isHotelRecommendationFlag ()
 setHotelRecommendationHTML ($innerHTML)
 getHotelRecommendationHTML ()
 setHotelDetailFlag ($flag)
 isHotelDetailFlag ()
 setHotelDetailHTML ($innerHTML)
 getHotelDetailHTML ()
 setNearHotelsFlag ($flag)
 isNearHotelsFlag ()
 setNearHotelsHTML ($innerHTML)
 getNearHotelsHTML ()
 setGoogleMapFlag ($flag)
 isGoogleMapFlag ()
 setGoogleMapHTML ($innerHTML)
 getGoogleMapHTML ()
 getLAreaList ($countryCode= 'JP')
 getLAreaSAreaList ($countryCode= 'JP')
 getGetURLParams ()
 assignParams ($service)
 render ()
 show ()

Protected メソッド

 getSAreaList ($lAreaCode)
 getLAreaName ($countryCode= 'JP')
 getSAreaName ($lAreaCode)
 getCityName ($cities, $selectedCity)
 getCityNameBySArea ($sAreaCode, $selectedCity=null)
 getHotelTypeName ()
 renderConfig ($itemHtml)
 renderHotelsearchform ($itemHtml)
 renderHotelsearchresults ($itemHtml)
 renderHotelRecommendation ($itemHtml)
 renderHotelDetail ($itemHtml)
 renderNearHotels ($itemHtml)
 renderGoogleMap ($itemHtml)
 renderPageKeywords ($itemHtml)
 renderPageHotelname ($itemHtml)
 renderLAreaLinkList ($itemHtml)
 renderSideNaviCode ($itemHtml)

Protected 変数

 $view
 $keyword = null
 $page = null
 $larea_cd = null
 $sarea_cd = null
 $city_cd = null
 $hotelsearchform_flag = null
 $hotelsearchform_html = null
 $hotelsearchresults_flag = null
 $hotelsearchresults_html = null
 $hotelrecommendation_flag = null
 $hotelrecommendation_html = null
 $hoteldetail_flag = null
 $hoteldetail_html = null
 $nearhotels_flag = null
 $nearhotels_html = null
 $googlemap_flag = null
 $googlemap_html = null
 $pagekeywords = null

説明

ページの表示部分のヘッダ

このWEBアプリケーションでは、表示するページをヘッダ部分とボディ部分の 2つのセクションとして扱います。このクラスは、表示ヘッダ部分、すなわち 検索フォーム部分の機能を実現しています。

作者:
snagasawa

PageFrame.php23 行で定義されています。


コンストラクタとデストラクタ

__construct ( fileName )

コンストラクタには、表示フレーム部分のビューファイル(HTMLテンプレート)へのパスを渡します。

引数:
string$fileNameビューファイルへのパス

PageFrame.php123 行で定義されています。


関数

assignParams ( service )

SDB Service API クラスのインスタンスに、フォームに設定されていた パラメータを指定します。

引数:
$serviceSDB Service API (VCSDBDriverHotel/VCSDBDriverTour/VCSDBDriverAirTicket) オブジェクト

PageFrame.php669 行で定義されています。

getCityName ( cities,
selectedCity 
) [protected]

都市名の取得

引数:
$citiescity XML 要素
戻り値:
都市名

PageFrame.php593 行で定義されています。

getCityNameBySArea ( sAreaCode,
selectedCity = null 
) [protected]

選択した都市名の取得

引数:
$itemHtmlHTML テンプレート
$sAreaCode小エリアコード
戻り値:
選択した都市コードの名前

PageFrame.php618 行で定義されています。

getGetURLParams (  )

現在のパラメータをURLパラメータ向けに復元

戻り値:
現在のGETURLパラメータ

ページ以外のパラメータが渡されていれば、それら全部渡す

PageFrame.php647 行で定義されています。

getHotelTypeName (  ) [protected]

選択したホテルタイプ名の取得

引数:
$hotel_typeホテルタイプコード
戻り値:
選択したホテルタイプコードの名前

PageFrame.php628 行で定義されています。

getLAreaList ( countryCode = 'JP' )

選択した大エリアコードと大エリア名の配列取得

引数:
$countryCode国コード
戻り値:
選択した大エリアコードの配列

PageFrame.php435 行で定義されています。

getLAreaName ( countryCode = 'JP' ) [protected]

選択した大エリア名の取得

引数:
$countryCode国コード
戻り値:
選択した大エリアコードの名前

PageFrame.php535 行で定義されています。

getLAreaSAreaList ( countryCode = 'JP' )

選択した大エリアコードと大エリア名の配列取得

引数:
$countryCode国コード
戻り値:
大エリアコード・小エリアコード・小エリア名をもつ二次元配列

PageFrame.php464 行で定義されています。

getSAreaList ( lAreaCode ) [protected]

選択した大エリアに付随する小エリアコード・小エリア名の配列

引数:
$lAreaCode大エリアコード
戻り値:
選択した小エリアコードの名前

PageFrame.php508 行で定義されています。

getSAreaName ( lAreaCode ) [protected]

選択した小エリア名の取得

引数:
$lAreaCode大エリアコード
戻り値:
選択した小エリアコードの名前

PageFrame.php566 行で定義されています。

render (  )

Override this method to do a proper rendering. By default, renders the html view as it is.

戻り値:
HTMLテキスト

PageFrame.php945 行で定義されています。

renderConfig ( itemHtml ) [protected]

設定サイト情報のアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_XXXXXX} に置き換えたHTML

PageFrame.php746 行で定義されています。

renderGoogleMap ( itemHtml ) [protected]

GoogleMapのアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_HOTELMAP} に置き換えたHTML

PageFrame.php848 行で定義されています。

renderHotelDetail ( itemHtml ) [protected]

ホテル情報詳細のアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_HOTELINFO} に置き換えたHTML

PageFrame.php818 行で定義されています。

renderHotelRecommendation ( itemHtml ) [protected]

おすすめホテル情報のアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_RECOMMENDATION} に置き換えたHTML

PageFrame.php803 行で定義されています。

renderHotelsearchform ( itemHtml ) [protected]

ホテル検索フォームのアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_AREA_HOTELTYPE_SEARCHFORM} に置き換えたHTML

PageFrame.php772 行で定義されています。

renderHotelsearchresults ( itemHtml ) [protected]

ホテル検索結果一覧のアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_RETRIEVALLIST} に置き換えたHTML

PageFrame.php787 行で定義されています。

renderLAreaLinkList ( itemHtml ) [protected]

大エリアのリンクリストのアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_LAREA_LINK_LIST} に置き換えたHTML

PageFrame.php901 行で定義されています。

renderNearHotels ( itemHtml ) [protected]

最寄りのホテル情報のアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_RECOMMENDATION} に置き換えたHTML

PageFrame.php833 行で定義されています。

renderPageHotelname ( itemHtml ) [protected]

表示ページの施設名のアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_PAGEHOTELNAME} に置き換えたHTML

PageFrame.php886 行で定義されています。

renderPageKeywords ( itemHtml ) [protected]

表示ページの検索キーワードのアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_PAGEKEYWORDS} に置き換えたHTML

PageFrame.php864 行で定義されています。

renderSideNaviCode ( itemHtml ) [protected]

 左サイドメニューの初期値のアサイン

引数:
$itemHtmlHTML テンプレート
戻り値:
${VC_SIDENAVICODE} に置き換えたHTML

PageFrame.php914 行で定義されています。

show (  ) [final]

ページに表示ヘッダを出力します。

Template method, override hook method render() for customized rendering

PageFrame.php972 行で定義されています。


構造体

$city_cd = null [protected]

city_cd パラメータ、市区町村コード、値はSDB APIに準じます

PageFrame.php41 行で定義されています。

$googlemap_flag = null [protected]

GoogleMapの表示フラグ

PageFrame.php101 行で定義されています。

$googlemap_html = null [protected]

GoogleMapの表示HTML

PageFrame.php104 行で定義されています。

$hoteldetail_flag = null [protected]

ホテル情報詳細の表示フラグ

PageFrame.php89 行で定義されています。

$hoteldetail_html = null [protected]

ホテル情報詳細の表示HTML

PageFrame.php92 行で定義されています。

$hotelrecommendation_flag = null [protected]

おすすめホテル情報の表示フラグ

PageFrame.php83 行で定義されています。

$hotelrecommendation_html = null [protected]

おすすめホテル情報の表示HTML

PageFrame.php86 行で定義されています。

$hotelsearchform_flag = null [protected]

ホテル検索フォームの表示フラグ

PageFrame.php71 行で定義されています。

$hotelsearchform_html = null [protected]

ホテル検索フォームの表示HTML

PageFrame.php74 行で定義されています。

$hotelsearchresults_flag = null [protected]

ホテル検索結果の表示フラグ

PageFrame.php77 行で定義されています。

$hotelsearchresults_html = null [protected]

ホテル検索結果の表示HTML

PageFrame.php80 行で定義されています。

$keyword = null [protected]

keyword パラメータ、検索キーワード

PageFrame.php29 行で定義されています。

$larea_cd = null [protected]

larea_cd パラメータ、大エリアコード、値はSDB APIに準じます

PageFrame.php35 行で定義されています。

$nearhotels_flag = null [protected]

最寄りのホテル情報の表示フラグ

PageFrame.php95 行で定義されています。

$nearhotels_html = null [protected]

最寄りのホテル情報の表示HTML

PageFrame.php98 行で定義されています。

$page = null [protected]

page パラメータ 、現在のページ番号

PageFrame.php32 行で定義されています。

$pagekeywords = null [protected]

検索キーワードの表示用文字列

PageFrame.php109 行で定義されています。

$sarea_cd = null [protected]

sarea_cd パラメータ、小エリアコード、値はSDB APIに準じます

PageFrame.php38 行で定義されています。

$view [protected]

表示ヘッダ部分のビューファイルの内容

PageFrame.php26 行で定義されています。


このクラスの説明は次のファイルから生成されました: