kopia lustrzana https://github.com/friendica/SG-iCalendar
comment header : added github url and fixed sample
rodzic
ab7336d9d0
commit
43661c4d85
|
@ -1,9 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('SG_ICALREADER_VERSION', '0.5.1.tpruvot');
|
define('SG_ICALREADER_VERSION', '0.5.1-tpruvot');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple iCal parser. Should take care of most stuff for ya
|
* A simple iCal parser. Should take care of most stuff for ya
|
||||||
|
* http://github.com/tpruvot/PHP-iCal
|
||||||
*
|
*
|
||||||
* Roadmap:
|
* Roadmap:
|
||||||
* * Finish FREQUENCY-parsing.
|
* * Finish FREQUENCY-parsing.
|
||||||
|
@ -11,7 +12,7 @@ define('SG_ICALREADER_VERSION', '0.5.1.tpruvot');
|
||||||
*
|
*
|
||||||
* A simple example:
|
* A simple example:
|
||||||
* <?php
|
* <?php
|
||||||
* $ical = new SG_iCal("http://example.com/calendar.ics");
|
* $ical = new SG_iCalReader("http://example.com/calendar.ics");
|
||||||
* foreach( $ical->getEvents() As $event ) {
|
* foreach( $ical->getEvents() As $event ) {
|
||||||
* // Do stuff with the event $event
|
* // Do stuff with the event $event
|
||||||
* }
|
* }
|
||||||
|
|
Ładowanie…
Reference in New Issue