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_Utils.php

    r22206 r22567  
    3333define('API_CLASS_REALDIR', CLASS_REALDIR . 'api/operations/'); 
    3434 
    35 class SC_Api_Utils { 
     35class SC_Api_Utils  
     36{ 
    3637 
    3738    /** API XML Namspase Header */ 
     
    5354     * @return string 秘密鍵文字列 
    5455     */ 
    55     public function getOperationSubConfig($operation_name, $key_name = '', $arrApiConfig = '') { 
     56    public function getOperationSubConfig($operation_name, $key_name = '', $arrApiConfig = '') 
     57    { 
    5658        if (SC_Utils_Ex::isBlank($arrApiConfig)) { 
    5759            $arrApiConfig = SC_Api_Utils_Ex::getAuthConfig($operation_name); 
     
    7981     * @return array 設定配列 
    8082     */ 
    81     public function getApiConfig($operation_name) { 
     83    public function getApiConfig($operation_name) 
     84    { 
    8285        // 設定優先度 DB > plugin default > base 
    8386        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    112115     @ @rturn void 
    113116     */ 
    114     public function printApiLog($msg, $start_time = '' , $operation_name = '') { 
     117    public function printApiLog($msg, $start_time = '' , $operation_name = '') 
     118    { 
    115119        if (!SC_Utils_Ex::isBlank($operation_name)) { 
    116120            $msg = 'API_' . $operation_name . ':' . $msg; 
     
    129133     * @return object APIオペレーションクラスオブジェクト 
    130134     */ 
    131     public function loadApiOperation($operation_name, $arrParam = array()) { 
     135    public function loadApiOperation($operation_name, $arrParam = array()) 
     136    { 
    132137        // API_UPLOADのほうが優先 
    133138        // API_UPLOAD > API_CLASS_EX > API_CLASS 
     
    155160     * @return array $arrFiles 
    156161     */ 
    157     public function getApiDirFiles() { 
     162    public function getApiDirFiles() 
     163    { 
    158164        $arrFiles = array(); 
    159165        // Core API ディレクトリ 
     
    183189    } 
    184190 
    185     public function sendResponseJson($response_outer_name, &$arrResponse) { 
     191    public function sendResponseJson($response_outer_name, &$arrResponse) 
     192    { 
    186193        header('Content-Type: application/json; charset=UTF-8'); 
    187194        $arrResponse['response_name'] = $response_outer_name; 
     
    189196    } 
    190197 
    191     public function sendResponsePhp($response_outer_name, &$arrResponse) { 
     198    public function sendResponsePhp($response_outer_name, &$arrResponse) 
     199    { 
    192200        header('Content-Type: application/php; charset=UTF-8'); 
    193201        $arrResponse['response_name'] = $response_outer_name; 
     
    195203    } 
    196204 
    197     public function sendResponseXml($response_outer_name, &$arrResponse) { 
     205    public function sendResponseXml($response_outer_name, &$arrResponse) 
     206    { 
    198207        require_once 'XML/Serializer.php'; 
    199208 
Note: See TracChangeset for help on using the changeset viewer.