/** * 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 */ public function init() { parent::init(); $this->tpl_mainpage = 'products/upload_csv.tpl'; $this->tpl_mainno = 'products'; $this->tpl_subno = 'upload_csv'; $this->tpl_maintitle = '商品管理'; $this->tpl_subtitle = '商品登録CSV'; $this->csv_id = '1'; $masterData = new SC_DB_MasterData_Ex(); $this->arrDISP = $masterData->getMasterData('mtb_disp'); $this->arrSTATUS = $masterData->getMasterData('mtb_status'); $this->arrDELIVERYDATE = $masterData->getMasterData('mtb_delivery_date'); $this->arrProductType = $masterData->getMasterData('mtb_product_type'); $this->arrMaker = SC_Helper_Maker_Ex::getIDValueList(); $this->arrPayments = SC_Helper_Payment_Ex::getIDValueList(); $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); $this->arrAllowedTag = $masterData->getMasterData('mtb_allowed_tag'); $this->arrTagCheckItem = array(); }