mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 17:24:16 +02:00
Web\Request: the request should know the URL
This commit is contained in:
parent
2ecdfefa85
commit
0fd4a094ea
@ -19,6 +19,16 @@ class Request extends Zend_Controller_Request_Http
|
||||
*/
|
||||
private $user;
|
||||
|
||||
private $url;
|
||||
|
||||
public function getUrl()
|
||||
{
|
||||
if ($this->url === null) {
|
||||
$this->url = Url::fromRequest($this);
|
||||
}
|
||||
return $this->url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for user
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user