\IcsGenerator
Class IcsGenerator.
Synopsis
class IcsGenerator
{
- // members
- private $fileObject;
- private $filePath;
- private $fileName;
- // methods
- public void getFileObject()
- public void __construct()
- public void generateEvent()
Members
private
- $fileName
—
Name of the file. - $fileObject
—
Silverstripe object that is the file. - $filePath
—
Relative location of the file on the server.
Methods
public
- __construct() — sets up base file and folder ready for file generating.
- generateEvent() — Get all events from a specific calendar, put them into a .ics file.
- getFileObject()