Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/data/class/SC_CampaignSession.php

    r12157 r15078  
    66 */ 
    77 
    8 /* ¥­¥ã¥ó¥Ú¡¼¥ó´ÉÍý¥¯¥é¥¹ */ 
     8/* キャンペーン管理クラス */ 
    99class SC_CampaignSession { 
    1010    var $key; 
     
    1313    var $campaign_dir = 'campaign_dir'; 
    1414     
    15     /* ¥³¥ó¥¹¥È¥é¥¯¥¿ */ 
     15    /* コンストラクタ */ 
    1616    function SC_CampaignSession($key = "campaign") { 
    1717        sfDomainSessionStart(); 
     
    1919    } 
    2020 
    21     /* ¥­¥ã¥ó¥Ú¡¼¥óID¤ò¥»¥Ã¥È */ 
     21    /* キャンペーンIDをセット */ 
    2222    function setCampaignId($campaign_id) { 
    2323        $_SESSION[$this->key][$this->campaign_id] = $campaign_id; 
    2424    } 
    2525     
    26     /* ¥­¥ã¥ó¥Ú¡¼¥óID¤ò¼èÆÀ */ 
     26    /* キャンペーンIDを取得 */ 
    2727    function getCampaignId() { 
    2828        return $_SESSION[$this->key][$this->campaign_id]; 
    2929    } 
    3030             
    31     /* ¥­¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸¤«¤é¤ÎÁ«°Ü¾ðÊó¤òÊÝ»ý */ 
     31    /* キャンペーンページからの遷移情報を保持 */ 
    3232    function setIsCampaign() { 
    3333        $_SESSION[$this->key][$this->is_campaign] = true; 
    3434    } 
    3535 
    36     /* ¥­¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸¤«¤é¤ÎÁ«°Ü¾ðÊó¤ò¼èÆÀ */ 
     36    /* キャンペーンページからの遷移情報を取得 */ 
    3737    function getIsCampaign() { 
    3838        return $_SESSION[$this->key][$this->is_campaign]; 
    3939    } 
    4040 
    41     /* ¥­¥ã¥ó¥Ú¡¼¥ó¾ðÊó¤òºï½ü */ 
     41    /* キャンペーン情報を削除 */ 
    4242    function delCampaign() { 
    4343        unset($_SESSION[$this->key]); 
    4444    } 
    4545 
    46     /* ¥­¥ã¥ó¥Ú¡¼¥ó¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¥»¥Ã¥È */ 
     46    /* キャンペーンディレクトリ名をセット */ 
    4747    function setCampaignDir($campaign_dir) { 
    4848        $_SESSION[$this->key][$this->campaign_dir] = $campaign_dir; 
    4949    } 
    5050     
    51     /* ¥­¥ã¥ó¥Ú¡¼¥ó¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ */ 
     51    /* キャンペーンディレクトリ名を取得 */ 
    5252    function getCampaignDir() { 
    5353        return $_SESSION[$this->key][$this->campaign_dir]; 
    5454    } 
    5555     
    56     /* ¥­¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸¤Ê¤é¥Õ¥ì¡¼¥à¤òÊѹ¹ */ 
     56    /* キャンペーンページならフレームを変更 */ 
    5757    function pageView($objView, $site_frame = SITE_FRAME) { 
    5858        if($this->getIsCampaign()) { 
Note: See TracChangeset for help on using the changeset viewer.