Ignore:
Timestamp:
2013/02/18 19:09:54 (13 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

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

    r22206 r22567  
    3030 */ 
    3131 
    32 abstract class SC_Api_Abstract { 
     32abstract class SC_Api_Abstract  
     33{ 
    3334 
    3435    /** 認証タイプ */ 
     
    5657    protected $arrErr = array(); 
    5758 
    58     final public function __construct() {} 
     59    final public function __construct() 
     60    {} 
    5961 
    60     final public function __destruct() {} 
     62    final public function __destruct() 
     63    {} 
    6164 
    6265    abstract public function doAction($arrParam); 
     
    6669    abstract protected function lfInitParam(&$objFormParam); 
    6770 
    68     public function getResponseArray() { 
     71    public function getResponseArray() 
     72    { 
    6973        return $this->arrResponse; 
    7074    } 
    7175 
    72     public function getErrorArray() { 
     76    public function getErrorArray() 
     77    { 
    7378        return $this->arrErr; 
    7479    } 
    7580 
    76     public function getDefaultConfig() { 
     81    public function getDefaultConfig() 
     82    { 
    7783        $arrApiConfig = array(); 
    7884        $arrApiConfig['operation_name'] = $this->operation_name; 
     
    8591    } 
    8692 
    87     protected function setResponse($key, $data) { 
     93    protected function setResponse($key, $data) 
     94    { 
    8895        $this->arrResponse[$key] = $data; 
    8996    } 
    9097 
    91     protected function addError($arrErr) { 
     98    protected function addError($arrErr) 
     99    { 
    92100        $this->arrErr = array_merge((array)$this->arrErr, (array)$arrErr); 
    93101    } 
    94102 
    95     protected function isParamError() { 
     103    protected function isParamError() 
     104    { 
    96105        return !SC_Utils_Ex::isBlank($this->arrErr); 
    97106    } 
    98107 
    99     protected function checkErrorExtended($arrParam) { 
     108    protected function checkErrorExtended($arrParam) 
     109    { 
    100110    } 
    101111 
    102     protected function doInitParam($arrParam = array()) { 
     112    protected function doInitParam($arrParam = array()) 
     113    { 
    103114        $this->objFormParam = new SC_FormParam_Ex(); 
    104115        $this->lfInitParam($this->objFormParam); 
     
    110121    } 
    111122 
    112     public function getRequestValidate() { 
     123    public function getRequestValidate() 
     124    { 
    113125        $arrParam = $this->objFormParam->getHashArray(); 
    114126        if (!SC_Utils_Ex::isBlank($arrParam)) { 
Note: See TracChangeset for help on using the changeset viewer.