Ignore:
Timestamp:
2013/05/02 18:11:36 (13 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/api/SC_Api_Abstract.php

    r22567 r22796  
    3030 */ 
    3131 
    32 abstract class SC_Api_Abstract  
    33 { 
     32abstract class SC_Api_Abstract { 
    3433 
    3534    /** 認証タイプ */ 
     
    5756    protected $arrErr = array(); 
    5857 
    59     final public function __construct() 
    60     {} 
     58    final public function __construct() {} 
    6159 
    62     final public function __destruct() 
    63     {} 
     60    final public function __destruct() {} 
    6461 
    6562    abstract public function doAction($arrParam); 
     
    6966    abstract protected function lfInitParam(&$objFormParam); 
    7067 
    71     public function getResponseArray() 
    72     { 
     68    public function getResponseArray() { 
    7369        return $this->arrResponse; 
    7470    } 
    7571 
    76     public function getErrorArray() 
    77     { 
     72    public function getErrorArray() { 
    7873        return $this->arrErr; 
    7974    } 
    8075 
    81     public function getDefaultConfig() 
    82     { 
     76    public function getDefaultConfig() { 
    8377        $arrApiConfig = array(); 
    8478        $arrApiConfig['operation_name'] = $this->operation_name; 
     
    9185    } 
    9286 
    93     protected function setResponse($key, $data) 
    94     { 
     87    protected function setResponse($key, $data) { 
    9588        $this->arrResponse[$key] = $data; 
    9689    } 
    9790 
    98     protected function addError($arrErr) 
    99     { 
     91    protected function addError($arrErr) { 
    10092        $this->arrErr = array_merge((array)$this->arrErr, (array)$arrErr); 
    10193    } 
    10294 
    103     protected function isParamError() 
    104     { 
     95    protected function isParamError() { 
    10596        return !SC_Utils_Ex::isBlank($this->arrErr); 
    10697    } 
    10798 
    108     protected function checkErrorExtended($arrParam) 
    109     { 
     99    protected function checkErrorExtended($arrParam) { 
    110100    } 
    111101 
    112     protected function doInitParam($arrParam = array()) 
    113     { 
     102    protected function doInitParam($arrParam = array()) { 
    114103        $this->objFormParam = new SC_FormParam_Ex(); 
    115104        $this->lfInitParam($this->objFormParam); 
     
    121110    } 
    122111 
    123     public function getRequestValidate() 
    124     { 
     112    public function getRequestValidate() { 
    125113        $arrParam = $this->objFormParam->getHashArray(); 
    126114        if (!SC_Utils_Ex::isBlank($arrParam)) { 
Note: See TracChangeset for help on using the changeset viewer.