Ignore:
Timestamp:
2007/07/20 20:38:17 (17 years ago)
Author:
nanasess
Message:

メンバ変数をプルアップし、 init() で初期化するよう変更

Location:
branches/feature-module-update/data/class/pages
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/LC_Page.php

    r15080 r15090  
    1919class LC_Page { 
    2020 
    21     // {{{ valiables 
     21    // {{{ properties 
     22 
     23    /** メインテンプレート */ 
     24    var $tpl_mainpage; 
     25 
     26    /** メインナンバー */ 
     27    var $tpl_mainno; 
     28 
     29    /** CSS のパス */ 
     30    var $tpl_css; 
     31 
     32    /** タイトル */ 
     33    var $tpl_title; 
     34 
     35    /** カテゴリ */ 
     36    var $tpl_page_category; 
    2237 
    2338    /** 
  • branches/feature-module-update/data/class/pages/abouts/LC_Page_Abouts.php

    r15080 r15090  
    1818class LC_Page_Abouts extends LC_Page { 
    1919 
    20     // {{{ properties 
    21  
    22     /**メインテンプレート */ 
    23     var $tpl_mainpage = 'abouts/index.tpl'; 
    24  
    25     /** カテゴリ */ 
    26     var $tpl_page_category = 'abouts'; 
    27  
    28     /** タイトル */ 
    29     var $tpl_title = '当サイトについて'; 
    30  
    3120    // }}} 
    3221    // {{{ functions 
     
    3928    function init() { 
    4029        parent::init(); 
     30        $this->tpl_mainpage = 'abouts/index.tpl'; 
     31        $this->tpl_page_category = 'abouts'; 
     32        $this->tpl_title = '当サイトについて'; 
    4133    } 
    4234 
  • branches/feature-module-update/data/class/pages/contact/LC_Page_Contact.php

    r15084 r15090  
    2020    // {{{ properties 
    2121 
    22     /**メインテンプレート */ 
    23     var $tpl_mainpage; 
    24  
    25     /** CSS のパス */ 
    26     var $tpl_css; 
    27  
    28     /** タイトル */ 
    29     var $tpl_title; 
    30  
    31     /** カテゴリ */ 
    32     var $tpl_page_category; 
     22    /** 都道府県の配列 */ 
     23    var $arrPref; 
    3324 
    3425    // }}} 
  • branches/feature-module-update/data/class/pages/contact/LC_Page_Contact_Complete.php

    r15084 r15090  
    1818class LC_Page_Contact_Complete extends LC_Page { 
    1919 
    20     // {{{ properties 
    21  
    22     /**メインテンプレート */ 
    23     var $tpl_mainpage = 'contact/complete.tpl'; 
    24  
    25     /** CSS のパス */ 
    26     var $tpl_css; 
    27  
    28     /** タイトル */ 
    29     var $tpl_title = 'お問い合わせ(完了ページ)'; 
    30  
    31     /** ページナンバー */ 
    32     var $tpl_mainno = 'contact'; 
    33  
    3420    // }}} 
    3521    // {{{ functions 
     
    4228    function init() { 
    4329        parent::init(); 
     30        $this->tpl_mainpage = 'contact/complete.tpl'; 
     31        $this->tpl_title = 'お問い合わせ(完了ページ)'; 
     32        $this->tpl_mainno = 'contact'; 
    4433        $this->tpl_css = array(); 
    4534        $this->tpl_css[1] = URL_DIR.'css/layout/contact/index.css'; 
  • branches/feature-module-update/data/class/pages/inquiry/LC_Page_Inquiry.php

    r15080 r15090  
    2020    // {{{ properties 
    2121 
    22     /** メインテンプレート */ 
    23     var $tpl_mainpage = 'inquiry/index.tpl'; 
    24  
    25     /** メインナンバー */ 
    26     var $tpl_mainno = 'contents'; 
    27  
     22    // TODO 
    2823    var $errmsg; 
    2924    var $arrPref; 
     
    4237    function init() { 
    4338        parent::init(); 
     39        $this->tpl_mainpage = 'inquiry/index.tpl'; 
     40        $this->tpl_mainno = 'contents'; 
    4441    } 
    4542 
  • branches/feature-module-update/data/class/pages/order/LC_Page_Order.php

    r15080 r15090  
    1717 */ 
    1818class LC_Page_Order extends LC_Page { 
    19  
    20     // {{{ properties 
    21  
    22     /**メインテンプレート */ 
    23     var $tpl_mainpage; 
    24  
    25     /** CSS のパス */ 
    26     var $tpl_css; 
    2719 
    2820    // }}} 
Note: See TracChangeset for help on using the changeset viewer.