comment header : added github url and fixed sample

master
Tanguy Pruvot 2010-10-29 06:52:19 +02:00
rodzic ab7336d9d0
commit 43661c4d85
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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
* } * }