parameters from url

This commit is contained in:
floppy0 2018-03-02 16:37:17 +01:00
parent 40800414cb
commit 83b871df06
1 changed files with 9 additions and 1 deletions

View File

@ -155,6 +155,14 @@ class Url
return 1;
}
public function parameter($field)
{
if (isset($this->parameters[$field])) {
return $this->parameters[$field];
}
return false;
}
public function setNotFound()
{
$this->setWhereAmI('page');