Location: PHPKode > scripts > iCal Maker > ical-maker/example_journal.php
<?php

include_once('./library/Icalendar/Journal.php');

$ical = new Icalendar_Journal();

$ical->setProdid('ITSoft | www.itsoft.com.pt');
$ical->setCalName('ITSoft');
$ical->setCalDesc('Sistema ITSoft');

$dtstart = $ical->getDtstart();

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

$ical->setJournal($journal);

$ical->render();
$ical->display();
// $ical->save();

?>
Return current item: iCal Maker