public function __construct($api_service) { $this->replar = array(); parent::__construct($api_service); $this->action = $this->request['action']; $this->id = isset($this->request['id']) ? $this->request['id'] : FALSE; $this->vid = new viddlerevents(); }
public function __construct($api_service) { parent::__construct($api_service); // Set the response tpye for the API service to JSON $api_service->set_response_type('json'); // Instantitate API objects to be used $this->categories_api_object = new Categories_Api_Object($api_service); $this->incidents_api_object = new Incidents_Api_Object($api_service); // Set the response type for this instance to json $this->set_response_type('json'); }
public function __construct($api_service) { parent::__construct($api_service); $this->abs_upload_url = url::site() . Kohana::config('upload.relative_directory', TRUE); // If Checkins aren't enabled, we want to essentially shut off this API library if (Kohana::config('settings.checkins') != 1) { // Say what is going on $this->set_ci_error_message(array("error" => $this->api_service->get_error_msg(010))); $this->show_response(); } }
public function __construct($api_service) { parent::__construct($api_service); }
public function __construct($api_service) { $this->replar = array(); parent::__construct($api_service); }