2001-01-13 22:15:11 +01:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
2001-01-17 13:35:43 +01:00
|
|
|
* phpGroupWare - Calendar *
|
2001-01-13 22:15:11 +01:00
|
|
|
* http://www.phpgroupware.org *
|
2001-01-17 13:35:43 +01:00
|
|
|
* Based on Webcalendar by Craig Knudsen <cknudsen@radix.net> *
|
|
|
|
* http://www.radix.net/~cknudsen *
|
|
|
|
* Modified by Mark Peters <skeeter@phpgroupware.org> *
|
2001-01-13 22:15:11 +01:00
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2001-04-27 04:20:55 +02:00
|
|
|
class calendar_time
|
|
|
|
{
|
|
|
|
var $year;
|
|
|
|
var $month;
|
|
|
|
var $mday;
|
|
|
|
var $hour;
|
|
|
|
var $min;
|
|
|
|
var $sec;
|
|
|
|
var $alarm = 0;
|
|
|
|
}
|
2001-02-27 05:42:18 +01:00
|
|
|
|
2001-04-27 04:20:55 +02:00
|
|
|
class calendar_item
|
|
|
|
{
|
2001-02-27 05:42:18 +01:00
|
|
|
//New ICal Support
|
2001-04-27 04:20:55 +02:00
|
|
|
var $id = 0;
|
|
|
|
var $category = 0;
|
|
|
|
var $title = "Unnamed Event";
|
|
|
|
var $description = "Unnamed Event";
|
|
|
|
var $public = 0;
|
|
|
|
var $alarm = 0;
|
|
|
|
var $start;
|
|
|
|
var $end;
|
|
|
|
var $mod;
|
|
|
|
var $recur_type = 0;
|
|
|
|
var $recur_interval = 0;
|
|
|
|
var $recur_enddate;
|
|
|
|
var $recur_data = 0;
|
2001-02-27 05:42:18 +01:00
|
|
|
|
2001-03-17 20:39:56 +01:00
|
|
|
var $users_status = 'U';
|
2001-04-27 04:20:55 +02:00
|
|
|
var $owner;
|
|
|
|
var $datetime = 0;
|
|
|
|
var $mdatetime = 0;
|
|
|
|
var $edatetime = 0;
|
|
|
|
var $priority = 0;
|
|
|
|
var $groups = array();
|
|
|
|
var $participants = array();
|
|
|
|
var $status = array();
|
2001-01-13 22:15:11 +01:00
|
|
|
|
2001-04-27 04:20:55 +02:00
|
|
|
function set($var,$val="")
|
|
|
|
{
|
|
|
|
$this->$var = $val;
|
|
|
|
}
|
|
|
|
}
|
2001-01-13 22:15:11 +01:00
|
|
|
|
|
|
|
?>
|