2) { $method .= $parameter[2]; } } } } } return $method; } public function __get($name) { $name = $this->_getMappedPropertyName($name); if (property_exists($this, $name)) { return $this->$name; } return parent::__get($name); } public function __set($name, $value) { $name = $this->_getMappedPropertyName($name); if (property_exists($this, $name)) { return $this->$name = $value; } return parent::__set($name, $value); } public function __call($method, $args) { return parent::__call($this->_getMappedMethodName($method), $args); } public static function finder($className=NULL) { if (NULL === $className) { $className = get_called_class(); } return parent::finder($className); } } ?>