コード例 #1
0
 public function __construct()
 {
     parent::__construct();
     require_once APP_PATH . "SDK/Payment/alipay_server/alipay.config.php";
     var_dump(GetSmallAvatar(1));
     $this->alipay_config = $alipay_config;
 }
コード例 #2
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->photo = new Photo();
     $this->tag = new Tag();
     $this->user = new User();
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->video = new Video();
     $this->tag = new Tag();
     $this->user = new User();
 }
コード例 #4
0
 function __construct()
 {
     $banklist = C('BANK_LIST');
     foreach ($banklist as $key => $val) {
         $this->banklist[$key] = $val['title'];
     }
     parent::__construct();
 }
コード例 #5
0
 public function __construct(Helpers $helpers, Validator $validator, Input $input, Response $response, Session $session, Mockably $mockably)
 {
     parent::__construct($helpers);
     $this->validator = $validator;
     $this->input = $input;
     $this->response = $response;
     $this->session = $session;
     $this->mockably = $mockably;
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->check_token();
     $cart = query_sql('', "select * from cart where member_id=" . $this->uid);
     $cart = $cart[0];
     if ($cart) {
         $this->cart_id = $cart['id'];
         $this->cart = json_decode(urldecode($cart['json_content']), true);
     } else {
         $this->cart = null;
     }
 }
コード例 #7
0
 public function __construct(ICategoryService $categoryService)
 {
     $this->modelService = $categoryService;
     parent::__construct($categoryService);
 }
コード例 #8
0
ファイル: ApiTagController.php プロジェクト: gg1977/frontend
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     $this->tag = new Tag();
     parent::__construct();
 }
コード例 #9
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->album = new Album();
     $this->user = new User();
 }
コード例 #10
0
 public function __construct()
 {
     parent::__construct();
     $this->model = M();
 }
コード例 #11
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->resourceMap = new ResourceMap();
 }
コード例 #12
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
 }
コード例 #13
0
 public function __construct()
 {
     parent::__construct();
     $this->notification = new Notification();
 }
コード例 #14
0
 /**
  *
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->modelClass = "Media";
 }
コード例 #15
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->webhook = new Webhook();
 }
コード例 #16
0
 public function __construct(IEventService $eventService)
 {
     $this->modelService = $eventService;
     parent::__construct($eventService);
 }
コード例 #17
0
 public function __construct()
 {
     parent::__construct();
     getAuthentication()->requireAuthentication();
 }
コード例 #18
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->action = new Action();
 }
コード例 #19
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->group = new Group();
 }
コード例 #20
0
 public function __construct($id, $module = null)
 {
     parent::__construct($id, $module);
     $this->data = $this->getInputParams();
 }