mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-09 03:22:00 +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);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|