This commit is contained in:
bzick
2013-08-12 20:14:35 +04:00
parent 982b284f60
commit 25975a6782
4 changed files with 53 additions and 24 deletions

View File

@@ -235,4 +235,22 @@ class Render extends \ArrayObject
{
throw new \BadMethodCallException("Unknown method " . $method);
}
public function __get($name)
{
if($name == 'info') {
return array(
'name' => $this->_name,
'schema' => $this->_scm,
'time' => $this->_time
);
} else {
return null;
}
}
public function __isset($name)
{
return $name == 'info';
}
}