Changeset 21765
- Timestamp:
- 2012/04/18 16:32:47 (11 years ago)
- Location:
- branches/version-2_12-dev/data/class
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_AdminView.php
r21760 r21765 23 23 24 24 class SC_AdminView extends SC_View_Ex { 25 function SC_AdminView() { 26 parent::SC_View(); 25 function __construct() { 26 parent::__construct(); 27 } 28 29 function init() { 30 parent::init(); 31 27 32 $this->_smarty->template_dir = TEMPLATE_ADMIN_REALDIR; 28 33 $this->_smarty->compile_dir = COMPILE_ADMIN_REALDIR; -
branches/version-2_12-dev/data/class/SC_InstallView.php
r21760 r21765 23 23 24 24 class SC_InstallView extends SC_View_Ex { 25 function SC_InstallView($template_dir, $compile_dir = COMPILE_REALDIR) { 26 parent::SC_View(); 25 function __construct($template_dir, $compile_dir = COMPILE_REALDIR) { 26 parent::__construct(); 27 27 28 $this->_smarty->template_dir = $template_dir; 28 29 $this->_smarty->compile_dir = $compile_dir; -
branches/version-2_12-dev/data/class/SC_MobileView.php
r21420 r21765 23 23 24 24 class SC_MobileView extends SC_SiteView_Ex { 25 function SC_MobileView($setPrevURL = true) { 26 parent::SC_SiteView($setPrevURL); 25 function __construct($setPrevURL = true) { 26 parent::__construct($setPrevURL); 27 } 28 29 function init() { 30 parent::init(); 31 27 32 $this->_smarty->template_dir = MOBILE_TEMPLATE_REALDIR; 28 33 $this->_smarty->compile_dir = MOBILE_COMPILE_REALDIR; -
branches/version-2_12-dev/data/class/SC_SiteView.php
r21420 r21765 23 23 24 24 class SC_SiteView extends SC_View_Ex { 25 function SC_SiteView($setPrevURL = true) { 26 parent::SC_View(); 25 function __construct($setPrevURL = true) { 26 parent::__construct(); 27 28 if ($setPrevURL) { 29 $this->setPrevURL(); 30 } 31 } 32 33 function init() { 34 parent::init(); 27 35 28 36 $this->_smarty->template_dir = TEMPLATE_REALDIR; … … 31 39 $this->assignTemplatePath(DEVICE_TYPE_PC); 32 40 $this->initpath(); 41 } 33 42 34 if ($setPrevURL) {43 function setPrevURL() { 35 44 $objCartSess = new SC_CartSession_Ex(); 36 45 $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 37 }38 46 } 39 47 } -
branches/version-2_12-dev/data/class/SC_SmartphoneView.php
r21420 r21765 23 23 24 24 class SC_SmartphoneView extends SC_SiteView_Ex { 25 function SC_SmartphoneView($setPrevURL = true) { 26 parent::SC_SiteView($setPrevURL); 25 function __construct($setPrevURL = true) { 26 parent::__construct($setPrevURL); 27 } 28 29 function init() { 30 parent::init(); 31 27 32 $this->_smarty->template_dir = SMARTPHONE_TEMPLATE_REALDIR; 28 33 $this->_smarty->compile_dir = SMARTPHONE_COMPILE_REALDIR; -
branches/version-2_12-dev/data/class/SC_View.php
r21761 r21765 31 31 32 32 // コンストラクタ 33 function SC_View() { 34 33 function __construct() { 34 $this->init(); 35 } 36 37 function init() { 35 38 $this->_smarty = new Smarty; 36 39 $this->_smarty->left_delimiter = '<!--{';
Note: See TracChangeset
for help on using the changeset viewer.