Ejemplo n.º 1
0
 /**
  * __get 
  * 
  * @param mixed $propertyName 
  * @throws ezcBasePropertyNotFoundException
  *          If a the value for the property options is not an instance of
  * @return mixed
  * @ignore
  */
 public function __get($propertyName)
 {
     switch ($propertyName) {
         case 'highlightFont':
             // Clone font configuration when requested for this element
             if (!$this->properties['highlightFontCloned']) {
                 $this->properties['highlightFont'] = clone $this->properties['font'];
                 $this->properties['highlightFontCloned'] = true;
             }
             return $this->properties['highlightFont'];
         default:
             return parent::__get($propertyName);
     }
 }