Ejemplo n.º 1
0
 protected function _add_view_specific_runtime_properties(Ai1ec_Event $event)
 {
     parent::_add_view_specific_runtime_properties($event);
     $taxonomy = $this->_registry->get('view.event.taxonomy');
     $event->set_runtime('categories_html', $taxonomy->get_categories_html($event, 'inline'));
     $event->set_runtime('tags_html', $taxonomy->get_tags_html($event, 'inline'));
     $event->set_runtime('category_text_color', $taxonomy->get_category_text_color($event));
 }
Ejemplo n.º 2
0
 protected function _add_view_specific_runtime_properties(Ai1ec_Event $event)
 {
     parent::_add_view_specific_runtime_properties($event);
     $taxonomy = $this->_registry->get('view.event.taxonomy');
     $event->set_runtime('category_bg_color', $taxonomy->get_category_bg_color($event));
     $event->set_runtime('category_divider_color', $taxonomy->get_category_divider_color($event));
     $event->set_runtime('category_text_color', $taxonomy->get_category_text_color($event));
 }