egroupware_official/calendar/inc/class.calendar_item.inc.php

62 lines
1.6 KiB
PHP
Raw Normal View History

<?php
/**************************************************************************\
2001-01-17 13:35:43 +01:00
* phpGroupWare - Calendar *
* 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> *
* -------------------------------------------- *
* 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$ */
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
class calendar_item
{
2001-02-27 05:42:18 +01:00
//New ICal Support
var $id = 0;
var $category = 0;
var $title = "Unnamed Event";
var $description = "Unnamed Event";
2001-04-27 19:37:59 +02:00
var $public = 1;
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
var $users_status = 'U';
var $owner;
var $datetime = 0;
var $mdatetime = 0;
var $edatetime = 0;
var $priority = 0;
var $groups = array();
var $participants = array();
var $status = array();
function set($var,$val="")
{
$this->$var = $val;
}
}
?>