34 if(!
$event->$pk && count($this->handlerMap))
36 $handler_class = array_shift(array_values($this->handlerMap));
37 return new $handler_class;
40 if(get_class(
$event) ==
"Event" &&
$event->composite_class)
42 $event_class =
$event->composite_class;
46 $event_class = get_class(
$event);
49 if(array_key_exists($event_class, $this->handlerMap))
51 $handler = $this->handlerMap[$event_class];
77 $event->filter =
new InclusionFilter(
"calendar_id",
"start_date",
"end_date");
99 $facet =
new MultiSelectFacetFilter(
"calendar_id", array(
Calendar =>
"{name}"));
101 $facet->dropdownMaxWidth =
"160px";
102 $facet->width =
"200px";
103 $facet->height =
"240px";
static eventFilterSetup()
getHandler($event)
If the event DataItem class is Event and the instance has a composite class, then find the handler th...
addHandler($class, $handler)
static createCalendarFacet()
static fireEvent($event, $parameter=null, $mustBeConsumed=false)
Fire an event to all subscribers as detailed in their manifests.
if(count($sites) > 1) $calendarSelect