mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-14 04:01:59 +01:00
18 lines
185 B
PHP
18 lines
185 B
PHP
|
<?php
|
||
|
|
||
|
class Model {
|
||
|
|
||
|
public function __get($key) {
|
||
|
return Registry::get($key);
|
||
|
}
|
||
|
|
||
|
|
||
|
public function __set($key, $value) {
|
||
|
Registry::set($key, $value);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|