function My_deliveryApp() { parent::__construct(); $this->_delivery_mod =& m('delivery_template'); $this->_region_mod =& m('region'); $this->_store_id = intval($this->visitor->get('manage_store')); }
function Seller_orderApp() { parent::__construct(); $this->_order_mod =& m('order'); $this->_member_mod =& m('member'); $this->_goodsspec_mod =& m('goodsspec'); }
function My_storeApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_store_mod =& m('store'); $this->_uploadedfile_mod =& m('uploadedfile'); }
function KmenusinfoApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_kmenus_mod =& m('kmenus'); $this->_kmenusinfo_mod =& m('kmenusinfo'); }
function CouponApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_store_mod =& m('store'); $this->_coupon_mod =& m('coupon'); $this->_couponsn_mod =& m('couponsn'); }
function Seller_groupbuyApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_goods_mod =& m('goods'); $this->_store_mod =& m('store'); $this->_groupbuy_mod =& m('groupbuy'); }
function My_waiterApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_member_mod =& m('member'); $this->_waiter_mod =& m('waiter'); $this->_waiterpriv_mod =& m('waiterpriv'); }
function Seller_promotionApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_goods_mod =& bm('goods', array('_store_id' => $this->_store_id)); $this->_spec_mod =& m('goodsspec'); $this->_promotion_mod =& m('promotion'); }
function My_goodsApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_goods_mod =& bm('goods', array('_store_id' => $this->_store_id)); $this->_spec_mod =& m('goodsspec'); $this->_image_mod =& m('goodsimage'); $this->_uploadedfile_mod =& m('uploadedfile'); }
function TransApp() { parent::__construct(); $this->_trans_mod =& m('trans'); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_user_id = intval($this->visitor->get('user_id')); $options = array('apply_type' => $this->_trans_mod->get_options_type(), 'enabled' => $this->_trans_mod->get_options_enabled()); $this->assign('options', $options); }
function My_goodsApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_goods_mod =& bm('goods', array('_store_id' => $this->_store_id)); $this->_spec_mod =& m('goodsspec'); $this->_image_mod =& m('goodsimage'); $this->_uploadedfile_mod =& m('uploadedfile'); $this->_brand_mod =& m('brand'); $this->_gradegoods_mod =& m('gradegoods'); //by cengnlaeng $this->_region_mod =& m('region'); }
function ComuploadApp() { parent::__construct(); if (isset($_REQUEST['id'])) { $this->id = intval($_REQUEST['id']); } if (isset($_REQUEST['belong'])) { $this->belong = intval($_REQUEST['belong']); } /* 实例 */ if (isset($_GET['instance'])) { $this->instance = $_GET['instance']; } $this->store_id = $this->visitor->get('manage_store'); }
function SwfuploadApp() { /* 建立会话 */ if (isset($_POST["ECM_ID"]) && isset($_POST['HTTP_USER_AGENT'])) { $_COOKIE['ECM_ID'] = $_POST["ECM_ID"]; $_SERVER['HTTP_USER_AGENT'] = $_POST['HTTP_USER_AGENT']; } else { $this->json_error('no_post_params_authorize'); exit; } parent::__construct(); /* 初始化 */ /* 归属 */ if (isset($_POST['belong'])) { $this->belong = $_POST['belong']; } else { $this->json_error('no_post_param_belong'); exit; } /* 定位 */ if (isset($_POST['item_id'])) { $this->item_id = $_POST['item_id']; } else { $this->json_error('no_post_param_item_id'); exit; } /* 实例 */ if (isset($_GET['instance'])) { $this->instance = $_GET['instance']; } $this->store_id = $this->visitor->get('manage_store'); switch ($this->belong) { case BELONG_ARTICLE: $this->save_path = 'data/files/store_' . $this->store_id . '/article'; break; case BELONG_STORE: $this->save_path = 'data/files/store_' . $this->store_id . '/other'; break; case BELONG_GOODS: $this->save_path = 'data/files/store_' . $this->store_id . '/goods_' . time() % 200; break; } $this->mod_uploadedfile =& m('uploadedfile'); $this->mod_goods =& m('goods'); $this->mod_goods_image =& m('goodsimage'); }
function My_goodsApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); $this->_goods_mod =& bm('goods', array('_store_id' => $this->_store_id)); $this->_spec_mod =& m('goodsspec'); $this->_image_mod =& m('goodsimage'); $this->_uploadedfile_mod =& m('uploadedfile'); $this->_brand_mod =& m('brand'); $this->_gcategory_mod =& m('gcategory'); $this->_attribute_mod =& m('attribute'); $this->_attribute_value_mod =& m('attribute_value'); $this->_goods_attr_mod =& m('goods_attr'); $this->_goods_prop_mod =& m('props'); $this->_goods_prop_value_mod =& m('prop_value'); $this->_goods_pvs_mod =& m('goods_pvs'); }
function MsgApp() { parent::__construct(); $this->msginit(); }
function My_partnerApp() { parent::__construct(); $this->_store_id = intval($this->visitor->get('manage_store')); }
function My_qaApp() { parent::__construct(); $this->my_qa_mod =& m('goodsqa'); }
function My_categoryApp() { parent::__construct(); $this->_gcategory_mod =& bm('gcategory', array('_store_id' => $this->visitor->get('manage_store'))); }
function My_navigationApp() { parent::__construct(); $this->_uploadedfile_mod =& m('uploadedfile'); }