Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 380 Bytes

SilverStripe iCal Module

This module provides the iCal DataObject, which can load in an iCal (ICS) file, with the data stored in DBFields on the object, with a has_many of iCalEvent DataObjects.

Example Usage

<?php
$calendar = iCal::create("path/to/file.ics");
foreach($calendar->Events as $event) {
	...
}
$calendar->write();