/**
  * generate output for one calendar
  * @param ICalendar $calendar
  * @return array
  */
 protected function generate(ICalendar $calendar)
 {
     $data = parent::generate($calendar);
     $this->generateTextColor($data);
     $data['loading'] = $data['enabled'];
     return $data;
 }
 /**
  * generate output for one backend
  * @param IBackend $backend
  * @return array
  */
 protected function generate(IBackend $backend)
 {
     $data = parent::generate($backend);
     $this->setPrefixInformation($data, $backend);
     $this->setSubscriptionTypes($data, $backend);
     return $data;
 }