arrResponse; } public function getErrorArray() { return $this->arrErr; } public function getDefaultConfig() { $arrApiConfig = array(); $arrApiConfig['operation_name'] = $this->operation_name; $arrApiConfig['operation_description'] = $this->operation_description; $arrApiConfig['auth_types'] = $this->default_auth_types; $arrApiConfig['enable'] = $this->default_enable; $arrApiConfig['is_log'] = $this->default_is_log; $arrApiConfig['sub_data'] = $this->default_sub_data; return $arrApiConfig; } protected function setResponse($key, $data) { $this->arrResponse[$key] = $data; } protected function addError($arrErr) { $this->arrErr = array_merge((array)$this->arrErr, (array)$arrErr); } protected function isParamError() { return !SC_Utils_Ex::isBlank($this->arrErr); } protected function checkErrorExtended($arrParam) { } protected function doInitParam($arrParam = array()) { $this->objFormParam = new SC_FormParam_Ex(); $this->lfInitParam($this->objFormParam); $this->objFormParam->setParam($arrParam); $this->objFormParam->convParam(); $this->arrErr = $this->objFormParam->checkError(false); $this->arrErr = array_merge((array)$this->arrErr, (array)$this->checkErrorExtended($arrParam)); return $this->objFormParam->getHashArray(); } public function getRequestValidate() { $arrParam = $this->objFormParam->getHashArray(); if (!SC_Utils_Ex::isBlank($arrParam)) { return $arrParam; } return; } }