PHP Classes

File: example_journal.php

Recommend this page to a friend!
  Classes of Thiago Brito   iCal Maker   example_journal.php   Download  
File: example_journal.php
Role: Example script
Content type: text/plain
Description: An example of how to add an journal into the iCal
Class: iCal Maker
Generate calendars in iCal format
Author: By
Last change: Alter description
Date: 16 years ago
Size: 640 bytes


Class file image Download


$ical = new Icalendar_Journal();

$ical->setProdid('ITSoft |');
$ical->setCalDesc('Sistema ITSoft');

$dtstart = $ical->getDtstart();

$journal = array();
$journal['DTSTAMP'] = $dtstart;
$journal['ORGANIZER'] = 'ITSoft -';
$journal['UID'] = '129';
$journal['CATEGORY'] = 'iCalendar';
$journal['DESCRIPTION'] = 'The best Class Calendar ever seen before!';
$journal['CLASS'] = '';


// $ical->save();