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/SC_Initial.php

    r22206 r22567  
    2828 * @version $Id$ 
    2929 */ 
    30 class SC_Initial { 
     30class SC_Initial  
     31{ 
    3132 
    3233    // {{{ cunstructor 
     
    3536     * コンストラクタ. 
    3637     */ 
    37     function __construct() { 
     38    function __construct() 
     39    { 
    3840 
    3941        /** EC-CUBEのバージョン */ 
     
    5052     * @return void 
    5153     */ 
    52     function init() { 
     54    function init() 
     55    { 
    5356        $this->requireInitialConfig(); 
    5457        $this->defineDSN();                 // requireInitialConfig メソッドより後で実行 
     
    7073     * @return void 
    7174     */ 
    72     function requireInitialConfig() { 
     75    function requireInitialConfig() 
     76    { 
    7377 
    7478        define('CONFIG_REALFILE', realpath(dirname(__FILE__)) . '/../config/config.php'); 
     
    8589     * @deprecated 下位互換用 
    8690     */ 
    87     function defineDSN() { 
     91    function defineDSN() 
     92    { 
    8893        if (defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') 
    8994            && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME') 
     
    99104     * @deprecated 
    100105     */ 
    101     function setErrorReporting() { 
     106    function setErrorReporting() 
     107    { 
    102108        error_reporting(E_ALL & ~E_NOTICE); 
    103109        // PHP 5.3.0対応 
     
    115121     * @return void 
    116122     */ 
    117     function phpconfigInit() { 
     123    function phpconfigInit() 
     124    { 
    118125        ini_set('html_errors', '1'); 
    119126        ini_set('mbstring.http_input', CHAR_CODE); 
     
    150157     * @return void 
    151158     */ 
    152     function defineDirectoryIndex() { 
     159    function defineDirectoryIndex() 
     160    { 
    153161 
    154162        // DirectoryIndex の実ファイル名 
     
    181189     * @return void 
    182190     */ 
    183     function defineParameter() { 
     191    function defineParameter() 
     192    { 
    184193 
    185194        $errorMessage 
     
    224233     * @return void 
    225234     */ 
    226     function complementParameter() { 
     235    function complementParameter() 
     236    { 
    227237    } 
    228238 
     
    235245     * @return void 
    236246     */ 
    237     function createCacheDir() { 
     247    function createCacheDir() 
     248    { 
    238249        if (defined('HTML_REALDIR')) { 
    239250            umask(0); 
     
    262273     * @return void 
    263274     */ 
    264     function defineConstants() { 
     275    function defineConstants() 
     276    { 
    265277        // LC_Page_Error用 
    266278        /** 指定商品ページがない */ 
     
    429441     * @return void 
    430442     */ 
    431     function stripslashesDeepGpc() { 
     443    function stripslashesDeepGpc() 
     444    { 
    432445        // Strip magic quotes from request data. 
    433446        if (get_magic_quotes_gpc() 
     
    459472     * @return void 
    460473     */ 
    461     function resetSuperglobalsRequest() { 
     474    function resetSuperglobalsRequest() 
     475    { 
    462476        $_REQUEST = array_merge($_GET, $_POST); 
    463477    } 
     
    470484     * @return void 
    471485     */ 
    472     function defineIfNotDefined($name, $value = null) { 
     486    function defineIfNotDefined($name, $value = null) 
     487    { 
    473488        if (!defined($name)) { 
    474489            define($name, $value); 
     
    481496     * @return void 
    482497     */ 
    483     function setTimezone() { 
     498    function setTimezone() 
     499    { 
    484500        date_default_timezone_set('Asia/Tokyo'); 
    485501    } 
Note: See TracChangeset for help on using the changeset viewer.