parameters from url
This commit is contained in:
parent
40800414cb
commit
83b871df06
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue