protected function getRequest($param = FALSE) { if ($param === FALSE) { return $this->request; } $param = strtolower($param); if (isset($this->request[$param])) { return $this->request[$param]; } return NULL; }