mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
issue 37 Server Side Validator apply core code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8477 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
32d69fdeff
commit
b17464e1c1
6 changed files with 121 additions and 8 deletions
|
|
@ -925,6 +925,8 @@ class Context {
|
|||
**/
|
||||
function get($key) {
|
||||
is_a($this,'Context')?$self=&$this:$self=&Context::getInstance();
|
||||
|
||||
if(!isset($self->context->{$key})) return null;
|
||||
return $self->context->{$key};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue