Ignore:
Timestamp:
2013/05/02 18:11:36 (11 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_Utils.php

    r22567 r22796  
    3333define('API_CLASS_REALDIR', CLASS_REALDIR . 'api/operations/'); 
    3434 
    35 class SC_Api_Utils  
    36 { 
     35class SC_Api_Utils { 
    3736 
    3837    /** API XML Namspase Header */ 
     
    5453     * @return string 秘密鍵文字列 
    5554     */ 
    56     public function getOperationSubConfig($operation_name, $key_name = '', $arrApiConfig = '') 
    57     { 
     55    public function getOperationSubConfig($operation_name, $key_name = '', $arrApiConfig = '') { 
    5856        if (SC_Utils_Ex::isBlank($arrApiConfig)) { 
    5957            $arrApiConfig = SC_Api_Utils_Ex::getAuthConfig($operation_name); 
     
    8179     * @return array 設定配列 
    8280     */ 
    83     public function getApiConfig($operation_name) 
    84     { 
     81    public function getApiConfig($operation_name) { 
    8582        // 設定優先度 DB > plugin default > base 
    8683        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    115112     @ @rturn void 
    116113     */ 
    117     public function printApiLog($msg, $start_time = '' , $operation_name = '') 
    118     { 
     114    public function printApiLog($msg, $start_time = '' , $operation_name = '') { 
    119115        if (!SC_Utils_Ex::isBlank($operation_name)) { 
    120116            $msg = 'API_' . $operation_name . ':' . $msg; 
     
    133129     * @return object APIオペレーションクラスオブジェクト 
    134130     */ 
    135     public function loadApiOperation($operation_name, $arrParam = array()) 
    136     { 
     131    public function loadApiOperation($operation_name, $arrParam = array()) { 
    137132        // API_UPLOADのほうが優先 
    138133        // API_UPLOAD > API_CLASS_EX > API_CLASS 
     
    160155     * @return array $arrFiles 
    161156     */ 
    162     public function getApiDirFiles() 
    163     { 
     157    public function getApiDirFiles() { 
    164158        $arrFiles = array(); 
    165159        // Core API ディレクトリ 
     
    189183    } 
    190184 
    191     public function sendResponseJson($response_outer_name, &$arrResponse) 
    192     { 
     185    public function sendResponseJson($response_outer_name, &$arrResponse) { 
    193186        header('Content-Type: application/json; charset=UTF-8'); 
    194187        $arrResponse['response_name'] = $response_outer_name; 
     
    196189    } 
    197190 
    198     public function sendResponsePhp($response_outer_name, &$arrResponse) 
    199     { 
     191    public function sendResponsePhp($response_outer_name, &$arrResponse) { 
    200192        header('Content-Type: application/php; charset=UTF-8'); 
    201193        $arrResponse['response_name'] = $response_outer_name; 
     
    203195    } 
    204196 
    205     public function sendResponseXml($response_outer_name, &$arrResponse) 
    206     { 
     197    public function sendResponseXml($response_outer_name, &$arrResponse) { 
    207198        require_once 'XML/Serializer.php'; 
    208199 
Note: See TracChangeset for help on using the changeset viewer.