/**
  * 	display_ticket_selector_submit
  *
  *	@access public
  * 	@access 		public
  * 	@return		string
  */
 public static function display_view_details_btn()
 {
     if (!self::$_event->get_permalink()) {
         $msg = __('The URL for the Event Details page could not be retrieved.', 'event_espresso');
         EE_Error::add_error($msg, __FILE__, __FUNCTION__, __LINE__);
     }
     $view_details_btn = '<form id="" method="POST" action="' . self::$_event->get_permalink() . '">';
     $btn_text = apply_filters('FHEE__EE_Ticket_Selector__display_view_details_btn__btn_text', __('View Details', 'event_espresso'));
     $view_details_btn .= '<input id="ticket-selector-submit-' . self::$_event->ID() . '-btn" class="ticket-selector-submit-btn" type="submit" value="' . $btn_text . '" /><div class="clear"><br/></div>';
     $view_details_btn .= '</form>';
     return $view_details_btn;
 }
 /**
  * 
  * @return array which can be used for converting to json
  */
 function to_array_for_json()
 {
     $title = $this->_datetime->name() != '' ? $this->_event->name() . ': ' . $this->_datetime->name() : $this->_event->name();
     return array('allDay' => false, 'className' => $this->classname(), 'color' => $this->color(), 'end' => $this->_datetime->end_date('c'), 'event_days' => $this->_datetime->length('days', true), 'event_time' => $this->event_time(), 'event_time_no_tags' => $this->event_time_no_tags(), 'event_img_thumb' => $this->event_img_thumb(), 'eventType' => $this->eventType(), 'description' => apply_filters('FHEE__EE_Datetime_In_Calendar__to_array_for_json__description', $this->description(), $this), 'id' => $this->_event->ID(), 'show_tooltips' => $this->show_tooltips(), 'start' => $this->_datetime->start_date('c'), 'target_date' => $this->_datetime->start_date('Y-m-d'), 'textColor' => $this->textColor(), 'tooltip' => $this->tooltip(), 'tooltip_my' => $this->tooltip_my(), 'tooltip_at' => $this->tooltip_at(), 'tooltip_style' => $this->tooltip_style(), 'title' => apply_filters('FHEE__EE_Datetime_In_Calendar__to_array_for_json__title', $title, $this), 'url' => $this->_event->get_permalink());
 }