PHP Classes

File: iCalEasyReader.example.php

Recommend this page to a friend!
  Classes of Pablo Matias Perrone  >  PHP ICS Calendar Reader  >  iCalEasyReader.example.php  >  Download  
File: iCalEasyReader.example.php
Role: Example script
Content type: text/plain
Description: usage example
Class: PHP ICS Calendar Reader
Parse iCalendar ics files to extract event details
Author: By
Last change:
Date: 7 years ago
Size: 157 bytes
 

Contents

Class file image Download
<?php
include ( 'iCalEasyReader.php' );
$ical = new iCalEasyReader();
$lines = $ical->load( file_get_contents( 'example.ics' ) );

var_dump( $lines );