mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 17:30: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);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|