Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 53 → Rev 54

/trunk/AbstractModel.php
48,10 → 48,10
public function __get ($name)
{
/* Support for Object-Relational Mappers */
// if (strpos($name, 'persistent') === 0)
// if (strpos($name, 'persistent') === 0)
// {
// $class = get_class($this);
// return $class::${$name};
// $class = get_class($this);
// return $class::${"_" . $name};
// }
 
$method = 'get' . ucfirst($name);