/** * Get Event List * * @return string * * @access protected */ protected function getEventList() { $model = new aam_View_Event(); return $model->retrieveEventList(); }
/** * Get Event List * * @return string * * @access public */ public function eventList() { if (aam_View_Collection::hasFeature(self::FEATURE_EVENT_MANAGER)) { $event = new aam_View_Event(); $response = $event->retrieveEventList(); } else { $response = self::DEFAULT_AJAX_RESPONSE; } return $response; }