/** * Returns the property $name. * * @throws ezcBasePropertyNotFoundException * if the property does not exist. * @param string $name * @return mixed * @ignore */ public function __get($name) { switch ($name) { case 'plainText': case 'htmlText': case 'charset': case 'encoding': return $this->properties[$name]; case 'options': return $this->options; default: return parent::__get($name); } }