/** * 是否为AJAX提交 * * @return boolean */ protected function isAjax() { return $this->_request->isXmlHttpRequest(); }