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;
 }
Esempio n. 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();
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->video = new Video();
     $this->tag = new Tag();
     $this->user = new User();
 }
 function __construct()
 {
     $banklist = C('BANK_LIST');
     foreach ($banklist as $key => $val) {
         $this->banklist[$key] = $val['title'];
     }
     parent::__construct();
 }
Esempio n. 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;
 }
 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;
     }
 }
 public function __construct(ICategoryService $categoryService)
 {
     $this->modelService = $categoryService;
     parent::__construct($categoryService);
 }
Esempio n. 8
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     $this->tag = new Tag();
     parent::__construct();
 }
Esempio n. 9
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->album = new Album();
     $this->user = new User();
 }
 public function __construct()
 {
     parent::__construct();
     $this->model = M();
 }
Esempio n. 11
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->resourceMap = new ResourceMap();
 }
Esempio n. 12
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
 }
 public function __construct()
 {
     parent::__construct();
     $this->notification = new Notification();
 }
Esempio n. 14
0
 /**
  *
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->modelClass = "Media";
 }
Esempio n. 15
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->webhook = new Webhook();
 }
 public function __construct(IEventService $eventService)
 {
     $this->modelService = $eventService;
     parent::__construct($eventService);
 }
Esempio n. 17
0
 public function __construct()
 {
     parent::__construct();
     getAuthentication()->requireAuthentication();
 }
Esempio n. 18
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->action = new Action();
 }
Esempio n. 19
0
 /**
  * Call the parent constructor
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->group = new Group();
 }
Esempio n. 20
0
 public function __construct($id, $module = null)
 {
     parent::__construct($id, $module);
     $this->data = $this->getInputParams();
 }