mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add getParam()
This commit is contained in:
parent
8256b61e36
commit
eca7d067c5
|
@ -53,6 +53,12 @@ class SeedDMS_View_Common {
|
|||
$this->params[$name] = $value;
|
||||
}
|
||||
|
||||
function getParam($name) {
|
||||
if(isset($this->params[$name]))
|
||||
return $this->params[$name];
|
||||
return null;
|
||||
}
|
||||
|
||||
function unsetParam($name) {
|
||||
if(isset($this->params[$name]))
|
||||
unset($this->params[$name]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user