/** * @param sfFilter $filterChain */ public function execute($filterChain) { if (sfJpMobile::isMobile()) { if ($this->isFirstCall()) { // UIDの取得 $this->_canGetUid(); // パラメータをシステム内で扱いやすいように変換 $this->_paramConvert(); // キャッシュ制御設定 $this->_setCacheControl(); // Content-Typeの設定 $this->_setContentType(); } $filterChain->execute(); // 出力データの加工 $this->_convertContent(); } else { $filterChain->execute(); } }