Subversion Repositories PHPX

Rev

Rev 52 | Rev 59 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 54
Line 49... Line 49...
49
  {
49
  {
50
    /* Support for Object-Relational Mappers */
50
    /* Support for Object-Relational Mappers */
51
//     if (strpos($name, 'persistent') === 0)
51
//      if (strpos($name, 'persistent') === 0)
52
//     {
52
//     {
53
//       $class = get_class($this);
53
//      $class = get_class($this);
54
//       return $class::${$name};
54
//      return $class::${"_" . $name};
55
//     }
55
//     }
56
56
57
    $method = 'get' . ucfirst($name);
57
    $method = 'get' . ucfirst($name);
58
58
59
    if (method_exists($this, $method))
59
    if (method_exists($this, $method))