public function __call($method, $arg)
{
/* Support calling set{Property}() */
if (strpos($method, 'set') === 0) {
$property = Horde_String::lower(substr($method, 3));
$this->_properties[$property] = $arg;
} elseif (strpos($method, 'get') === 0) {
return $this->_getAttribute(Horde_String::lower(substr($method, 3)));
}
throw new BadMethodCallException('Unknown method: ' . $method . ' in class: ' . __CLASS__);
}