|
|
@ -207,7 +207,7 @@ abstract class Db {
|
|
|
|
return $result;
|
|
|
|
return $result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected function __call($name, $arguments){
|
|
|
|
public function __call($name, $arguments){
|
|
|
|
if (substr($name, 0, 3) === 'get'){
|
|
|
|
if (substr($name, 0, 3) === 'get'){
|
|
|
|
$requestedProperty = substr($name, 3);
|
|
|
|
$requestedProperty = substr($name, 3);
|
|
|
|
$property = strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $requestedProperty));
|
|
|
|
$property = strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $requestedProperty));
|
|
|
|