mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-27 10:10:13 +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);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|