Rev 31 | Rev 35 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 31 | Rev 34 | ||
---|---|---|---|
Line 76... | Line 76... | ||
76 | {
|
76 | {
|
77 | /* Support for Object-Relational Mappers */
|
77 | /* Support for Object-Relational Mappers */
|
78 | if (strpos($name, 'persistent') === 0) |
78 | if (strpos($name, 'persistent') === 0) |
79 | {
|
79 | {
|
80 | $class = get_class($this); |
80 | $class = get_class($this); |
81 | return $class::${ |
81 | return $class::${$name}; |
82 | $name}; |
- | |
83 | }
|
82 | }
|
84 | 83 | ||
85 | $method = 'get' . ucfirst($name); |
84 | $method = 'get' . ucfirst($name); |
86 | 85 | ||
87 | if (method_exists($this, $method)) |
86 | if (method_exists($this, $method)) |