コード例 #1
0
ファイル: Spend_listController.php プロジェクト: hubs/yuncms
 function __construct()
 {
     if (!application_exists(APP)) {
         showmessage(L('application_not_exists'));
     }
     $this->spend_db = Loader::model('pay_spend_model');
     parent::__construct();
 }
コード例 #2
0
ファイル: DepositController.php プロジェクト: hubs/yuncms
 public function __construct()
 {
     if (!application_exists(APP)) {
         showmessage(L('application_not_exists'));
     }
     parent::__construct();
     $this->pay_db = Loader::model('pay_payment_model');
     $this->account_db = Loader::model('pay_account_model');
     $this->_username = cookie('_username');
     $this->_userid = intval(cookie('_userid'));
     $this->handle = Loader::lib('pay:pay_deposit');
 }
コード例 #3
0
ファイル: PaymentController.php プロジェクト: hubs/yuncms
 public function __construct()
 {
     if (!application_exists(APP)) {
         showmessage(L('application_not_exists'));
     }
     parent::__construct();
     $this->db = Loader::model('pay_payment_model');
     $this->account_db = Loader::model('pay_account_model');
     $this->member_db = Loader::model('member_model');
     $this->modules_path = APPS_PATH . 'pay' . DIRECTORY_SEPARATOR . 'module' . DIRECTORY_SEPARATOR;
     Loader::lib('pay:pay_method', false);
     $this->method = new pay_method($this->modules_path);
 }