/** * Page を初期化する. * * @return void */ public function init() { parent::init(); $this->tpl_mainpage = 'products/product.tpl'; $this->tpl_mainno = 'products'; $this->tpl_subno = 'product'; $this->tpl_maintitle = '商品管理'; $this->tpl_subtitle = '商品登録'; $masterData = new SC_DB_MasterData_Ex(); $this->arrProductType = $masterData->getMasterData('mtb_product_type'); $this->arrDISP = $masterData->getMasterData('mtb_disp'); $this->arrSTATUS = $masterData->getMasterData('mtb_status'); $this->arrSTATUS_IMAGE = $masterData->getMasterData('mtb_status_image'); $this->arrDELIVERYDATE = $masterData->getMasterData('mtb_delivery_date'); $this->arrMaker = SC_Helper_Maker_Ex::getIDValueList(); $this->arrAllowedTag = $masterData->getMasterData('mtb_allowed_tag'); }
/** * Page を初期化する. * * @return void */ function init() { parent::init(); $this->tpl_mainpage = 'products/product.tpl'; $this->tpl_mainno = 'products'; $this->tpl_subno = 'product'; $this->tpl_maintitle = t('c_Products_01'); $this->tpl_subtitle = t('c_Product registration_01'); $masterData = new SC_DB_MasterData_Ex(); $this->arrProductType = $masterData->getMasterData('mtb_product_type'); $this->arrDISP = $masterData->getMasterData('mtb_disp'); $this->arrSTATUS = $masterData->getMasterData('mtb_status'); $this->arrSTATUS_IMAGE = $masterData->getMasterData('mtb_status_image'); $this->arrDELIVERYDATE = $masterData->getMasterData('mtb_delivery_date'); $this->arrMaker = SC_Helper_DB_Ex::sfGetIDValueList('dtb_maker', 'maker_id', 'name'); $this->arrAllowedTag = $masterData->getMasterData('mtb_allowed_tag'); }
/** * Page を初期化する. * * @return void */ function init() { parent::init(); $this->tpl_mainpage = 'products/product.tpl'; $this->tpl_mainno = 'products'; $this->tpl_subno = 'product'; $this->tpl_maintitle = '商品管理'; $this->tpl_subtitle = '商品登録'; $masterData = new SC_DB_MasterData_Ex(); $this->arrProductType = $masterData->getMasterData("mtb_product_type"); $this->arrDISP = $masterData->getMasterData("mtb_disp"); $this->arrCLASS = $masterData->getMasterData("mtb_class"); $this->arrSTATUS = $masterData->getMasterData("mtb_status"); $this->arrSTATUS_IMAGE = $masterData->getMasterData("mtb_status_image"); $this->arrDELIVERYDATE = $masterData->getMasterData("mtb_delivery_date"); $this->arrMaker = SC_Helper_DB_Ex::sfGetIDValueList("dtb_maker", "maker_id", 'name'); $this->arrAllowedTag = $masterData->getMasterData("mtb_allowed_tag"); }
/* * This file is part of EC-CUBE * * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // {{{ requires require_once '../require.php'; require_once CLASS_EX_REALDIR . 'page_extends/admin/products/LC_Page_Admin_Products_Ex.php'; // }}} // {{{ generate page $objPage = new LC_Page_Admin_Products_Ex(); register_shutdown_function(array($objPage, 'destroy')); $objPage->init(); $objPage->process();