function StoreApp() { parent::__construct(); $this->_store_mod =& m('store'); $this->_zhipping_mod =& m('zhipping'); //Add by MingFONG for Zhipping at 2014-09-19 }
function AdApp() { parent::__construct(); //初始化数据模型 $this->_ad_mod =& m('ad'); $this->_ad_position_mod =& m('ad_position'); }
function OrderApp() { parent::__construct(); $this->_order_mod =& m('order'); $this->_member_mod =& m('member'); $this->_goodsspec_mod =& m('goodsspec'); }
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 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 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 ComuploadApp() { parent::__construct(); if (isset($_REQUEST['id'])) { $this->id = intval($_REQUEST['id']); } if (isset($_REQUEST['belong'])) { $this->belong = intval($_REQUEST['belong']); } }
function AdminApp() { parent::__construct(); $this->_admin_mod =& m('userpriv'); $this->_user_mod =& m('member'); }
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 SgradeApp() { parent::__construct(); $this->_grade_mod =& m('sgrade'); }
function UserApp() { parent::__construct(); $this->_user_mod =& m('member'); }
function ConsultingApp() { $this->goodsqa_mod =& m('goodsqa'); parent::__construct(); }
function GcategoryApp() { parent::__construct(); $this->_gcategory_mod =& bm('gcategory', array('_store_id' => 0)); }
function RegionApp() { parent::__construct(); $this->_region_mod =& m('region'); }
function Store_tipsApp() { parent::__construct(); $this->_storetips_mod =& m('storetips'); }
function StoreApp() { parent::__construct(); $this->_store_mod =& m('store'); }
function ScategoryApp() { parent::__construct(); $this->_scategory_mod =& m('scategory'); }