/** * 選択した都市名の取得 * * @param $itemHtml HTML テンプレート * @param $sAreaCode 小エリアコード * @return 選択した都市コードの名前 */ protected function getCityNameBySArea($sAreaCode, $selectedCity = null) { return $this->getCityName(VCSDBDriverLocationCodes::getCitiesInSArea($sAreaCode), $selectedCity); }
/** * ロケーションコードデータを JSONに変換して提供します。 * * @return string JSON形式のロケーションデータ */ public static function getJSON() { if (self::$locationCodeAsJson == null) { self::$locationCodeAsJson = "[" . self::xmlToJSON(self::getRegions()) . "]"; } return self::$locationCodeAsJson; }