add new feature to donwload a calendar
This commit is contained in:
@@ -41,7 +41,7 @@ class Upcoming extends ComponentBase {
|
||||
];
|
||||
}
|
||||
|
||||
public function events() {
|
||||
public function getEvents() {
|
||||
$connector = new GoogleCalendarService();
|
||||
$maxEvents = $this->property('maxEvents');
|
||||
$calendarEvents = $connector->allEventList($maxEvents);
|
||||
|
||||
Reference in New Issue
Block a user