function __construct()
 {
     parent::__construct();
     $this->controller = get_class();
     $this->controller = strtolower($this->controller);
     $this->api_key = 'your_api_key_here';
 }
示例#2
0
 function __construct()
 {
     parent::__construct();
     $this->controller = get_class();
     $this->controller = strtolower($this->controller);
 }