Ignore:
Timestamp:
2013/08/24 23:33:52 (13 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
PHP4的な書き方の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_Cookie.php

    r22856 r23124  
    2828class SC_Cookie 
    2929{ 
    30     var $expire; 
     30    public $expire; 
    3131 
    3232    // コンストラクタ 
    33     function __construct($day = COOKIE_EXPIRE) 
     33    public function __construct($day = COOKIE_EXPIRE) 
    3434    { 
    3535        // 有効期限 
     
    3838 
    3939    // クッキー書き込み 
    40     function setCookie($key, $val) 
     40    public function setCookie($key, $val) 
    4141    { 
    4242        setcookie($key, $val, $this->expire, ROOT_URLPATH, DOMAIN_NAME); 
     
    4848     * EC-CUBE をURLパスルート以外にインストールしている場合、上位ディレクトリの値も(劣後ではあるが)取得する点に留意。 
    4949     */ 
    50     function getCookie($key) 
     50    public function getCookie($key) 
    5151    { 
    5252        return isset($_COOKIE[$key]) ? $_COOKIE[$key] : null; 
Note: See TracChangeset for help on using the changeset viewer.