function make_reason_calendar_init_array($start_date, $end_date = '', $view = '')
 {
     $array = parent::make_reason_calendar_init_array($start_date, $end_date, $view);
     $array['start_date'] = '1970-01-01';
     $array['view'] = 'all';
     return $array;
 }
Example #2
0
 function init($args = array())
 {
     trigger_error('The Event Slot Registration module is deprecated -- its functionality is now native to the standard events module. Please update your page types to use the standard events module.');
     parent::init($args);
 }
 function init($args = array())
 {
     trigger_error('The events_schedule module is deprecated and will go away in future versions of Reason. Use the events module with "list_markup" => "minisite_templates/modules/events_markup/schedule/schedule_events_list.php", "list_item_markup" => "minisite_templates/modules/events_markup/schedule/schedule_events_list_item.php" in the page type instead.');
     parent::init($args);
 }
Example #4
0
	function run()
	{
		if($this->_has_content_to_display())
		{
			parent::run();
		}
		elseif($msg = $this->_get_no_content_message())
		{
			echo '<div class="eventsNoContentMessage">'.$msg.'</div>'."\n";
		}
	}