Added isset method to mfRequest
This commit is contained in:
@@ -65,6 +65,11 @@ class mfRequest {
|
|||||||
return $this->request;
|
return $this->request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function isset($name) {
|
||||||
|
if(!$name) return false;
|
||||||
|
return array_key_exists($name, $this->request);
|
||||||
|
}
|
||||||
|
|
||||||
public function __get($name) {
|
public function __get($name) {
|
||||||
return $this->get($name);
|
return $this->get($name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user