/** * Constructor. For the parameters you need to run the report task. * This will url encode all the strings. So no worries about that. * We got ya covered. * * @param String $incident_title * @param String $incident_description * @param String $incident_date * @param String $incident_hour * @param String $incident_minute * @param String $incident_ampm * @param String $incident_category * @param String $latitude * @param String $longitude * @param String $location_name * @param String $person_first * @param String $person_last * @param String $person_email * @param Binary[] $incident_photo * @param String $incident_news * @param String $incident_video */ public function __construct($incident_title, $incident_description, $incident_date, $incident_hour, $incident_minute, $incident_ampm, $incident_category, $latitude, $longitude, $location_name, $person_first = null, $person_last = null, $person_email = null, $incident_photo = null, $incident_news = null, $incident_video = null) { parent::__construct("report"); $this->incident_title = $incident_title; $this->incident_description = $incident_description; $this->incident_date = $incident_date; $this->incident_hour = $incident_hour; $this->incident_minute = $incident_minute; $this->incident_ampm = $incident_ampm; $this->incident_category = $incident_category; $this->latitude = $latitude; $this->longitude = $longitude; $this->location_name = $location_name; $this->person_first = $person_first; $this->person_last = $person_last; $this->person_email = $person_email; $this->incident_photo = $incident_photo; $this->incident_news = $incident_news; $this->incident_video = $incident_video; }
/** * Constructor. For the parameters you need to run the api keys task. * This will url encode all the strings. So no worries about that. * We got ya covered. * * @param String $by */ public function __construct($by) { parent::__construct("apikeys"); $this->by = $by; }
/** * Constructor. For the parameters you need to run the api keys task. * This will url encode all the strings. So no worries about that. * We got ya covered. * * @param String $by */ public function __construct($id = null) { parent::__construct("categories"); $this->id = $id; }
/** * Constructor. Normally this would accept all the required fields, but since * there are so many different combinations with this particular task I'm * going to leave it up to the users to set the parameters with the setters. * * @param String $by */ public function __construct() { parent::__construct("incidents"); }