function get($location, $asArray = FALSE) { $this->query($location); if ($this->get_status_code() == 200) { if ($asArray) { return preg_split("/\n/", $this->fetch_body()); } return $this->fetch_body(); } return FALSE; }