function TrackApp() { parent::BackendApp(); $this->_goods_mod =& m('goods'); $this->_uploadedfile_mod =& m('uploadedfile'); $this->track =& m('check'); }
function AdApp() { parent::__construct(); //初始化数据模型 $this->_ad_mod =& m('ad'); $this->_ad_position_mod =& m('ad_position'); }
function StoreApp() { parent::__construct(); $this->_store_mod =& m('store'); $this->_zhipping_mod =& m('zhipping'); //Add by MingFONG for Zhipping at 2014-09-19 }
function OrderApp() { parent::__construct(); $this->_order_mod =& m('order'); $this->_member_mod =& m('member'); $this->_goodsspec_mod =& m('goodsspec'); }
function AttributeApp() { parent::BackendApp(); $this->_attribute_mod =& m('attribute'); $this->_attribute_value_mod =& m('attribute_value'); $this->_gcategory_mod =& m('gcategory'); }
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; } switch ($this->belong) { case BELONG_ARTICLE: $this->save_path = 'data/files/mall/article'; break; } $this->mod_uploadedfile =& m('uploadedfile'); }
function Ultimate_storeApp() { parent::__construct(); $this->_store_mod =& m('store'); $this->_us_mod =& m('ultimate_store'); $this->_member_mod =& m('member'); $this->_brand_mod =& m('brand'); }
function PropsApp() { parent::BackendApp(); $this->_gcate_mod =& m('gcategory'); $this->_props_mod =& m('props'); $this->_prop_value_mod =& m('prop_value'); $this->_cate_pvs_mod =& m('cate_pvs'); }
function MailtemplateApp() { parent::__construct(); $this->_m = $this->_af(); $this->assign('notice_mail', NOTICE_MAIL); $this->assign('notice_msg', NOTICE_MSG); $this->assign('type', $this->_type); }
function ArticleApp() { parent::BackendApp(); $this->_article_mod =& m('article'); $this->tag =& m('tag'); $this->tagmap =& m('tagmap'); $this->_uploadedfile_mod =& m('uploadedfile'); }
function DbApp() { parent::BackendApp(); /* 设置最长执行时间为5分钟 */ _at('set_time_limit', 300); _at('ini_set', 'memory_limit', '64M'); $this->db =& db(); $this->backup_path = ROOT_PATH . '/' . 'data/' . $this->backup_dir . '/'; }
function ChannelApp() { parent::BackendApp(); $this->_channel_mod =& af('channels'); $this->_gcategory_mod =& bm('gcategory', array('_store_id' => 0)); $this->_tpl_filepath = ROOT_PATH . '/themes/mall/' . $this->_get_template_name() . '/'; $this->_tpl_confpath = ROOT_PATH . '/data/page_config/'; $this->_tpl_url = SITE_URL . '/themes/mall/' . $this->_get_template_name() . '/styles/' . $this->_get_style_name(); }
function ComuploadApp() { parent::__construct(); if (isset($_REQUEST['id'])) { $this->id = intval($_REQUEST['id']); } if (isset($_REQUEST['belong'])) { $this->belong = intval($_REQUEST['belong']); } }
function NavigationApp() { parent::BackendApp(); $this->_navi_mod =& m('navigation'); }
function BrandApp() { parent::BackendApp(); $this->_brand_mod =& m('brand'); }
function GcategoryApp() { parent::__construct(); $this->_gcategory_mod =& bm('gcategory', array('_store_id' => 0)); }
function RegionApp() { parent::__construct(); $this->_region_mod =& m('region'); }
function AdminApp() { parent::__construct(); $this->_admin_mod =& m('userpriv'); $this->_user_mod =& m('member'); }
function Store_tipsApp() { parent::__construct(); $this->_storetips_mod =& m('storetips'); }
function CouponApp() { parent::__construct(); $this->_coupon_mod =& m('coupon'); $this->_couponsn_mod =& m('couponsn'); }
function NoticeApp() { parent::__construct(); $this->_user_mod =& m('member'); $this->_sgrade_mod =& m('sgrade'); }
function goodsqaapp() { $this->goodsqa_mod =& m('goodsqa'); parent::__construct(); }
function StoreApp() { parent::__construct(); $this->_store_mod =& m('store'); }
function AdApp() { parent::BackendApp(); $this->_ad_mod =& m('ad'); }
function ShareApp() { parent::BackendApp(); $this->_m_share =& af('share'); }
function PartnerApp() { parent::BackendApp(); $this->_partner_mod =& m('partner'); }
function SgradeApp() { parent::__construct(); $this->_grade_mod =& m('sgrade'); }
function SettingApp() { parent::BackendApp(); $_POST = stripslashes_deep($_POST); }
function GoodsApp() { parent::BackendApp(); $this->_goods_mod =& m('goods'); }
function GroupbuyApp() { parent::BackendApp(); $this->_groupbuy_mod =& m('groupbuy'); }