\ICSExport
Distributed under the GNU Lesser General Public License (LGPL v3) (http://www.gnu.org/licenses/lgpl.html) This program is distributed in the hope that it will be useful - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Author: Dominik Zogg <dominik.zogg@gmail.com>
- Copyright: Copyright (c) 2011, Dominik Zogg
Synopsis
class ICSExport
{
- // members
- protected array $_arrCalendar = ;
- protected string $_strIcsHeader = "BEGIN:VCALENDAR\r\nPRODID:-//php/ics\r\nVERSION:2.0\r\nMETHOD:PUBLISH\r\n";
- protected string $_strIcsFooter = 'END:VCALENDAR';
- protected string $_strIcs = '';
- // methods
- public void __construct()
- public void getFile()
- public string getString()
- public static void ics_date()
- public static string generateEventString()
- public static string cleanString()
- public static void ics_from_sscal()
Tasks
Line | Task |
---|---|
155 | warning, or log here |
160 | warning, or log here |
Members
protected
- $_arrCalendar — array
- $_strIcs — string
- $_strIcsHeader — string
Methods
public
- __construct() — __construct
- cleanString() — cleanString
- generateEventString() — generateEventString
- getFile() — getFile
- getString() — getString
- ics_date()
- ics_from_sscal() — returns an ICSExport calendar object by supplying a Silverstripe calendar