/**
  * __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 'labels':
             return $this->labels;
         default:
             return parent::__get($propertyName);
     }
 }
 /**
  * __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 'color':
             // Use color as an alias to set background color for background
             return $this->properties['background'];
         default:
             return parent::__get($propertyName);
     }
 }
Пример #3
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 'axisLabelRenderer':
             return $this->axisLabelRenderer;
         default:
             return parent::__get($propertyName);
     }
 }