public function redirect($url) { if ($this->getHasAdapter()) { $this->_adapter->httpRedirect($url); } else { $this->httpRedirect($url); } }