/** * run() 終了処理 */ protected function postRun() { // 設定されているformをcreateViewしてResultにセットする if (parent::_getForm() !== array()) { $tForm = array(); foreach (parent::_getForm() as $key => $form) { $tForm[$key] = $form->createView(); } parent::setResult('form', $tForm); } parent::setResult('data', $this->_view); parent::setResult('message', $this->_message); parent::postRun(); }
/** * run() 終了処理 * * 処理ステータスが設定されていない場合はSuccessを設定します。 */ protected function postRun() { parent::setResult('view', array('data' => $this->_json)); return parent::postRun(); }