/** * Constructor * * Only job is to set all the variablesnames * * @desc Constructor * @param string $summary Title for the event * @param string $description Description * @param string $location Location * @param int $start Start time for the event (timestamp) * @param int $duration Duration of the todo in minutes * @param int $end Start time for the event (timestamp) * @param int $percent The percent completion of the ToDo * @param int $prio riority = 0–9 * @param int $status Status of the event (0 = TENTATIVE, 1 = CONFIRMED, 2 = CANCELLED) * @param int $class (0 = PRIVATE | 1 = PUBLIC | 2 = CONFIDENTIAL) * @param array $organizer The organizer – use array('Name', '*****@*****.**') * @param array $attendees key = attendee name, value = e-mail, second value = role of the attendee [0 = CHAIR | 1 = REQ | 2 = OPT | 3 =NON] (example: array('Michi' => 'flaimo@gmx.net,1'); ) * @param array $categories Array with Strings (example: array('Freetime','Party')) * @param int $last_mod Last modification of the to-to (timestamp) * @param array) $alarm Array with all the alarm information, "''" for no alarm * @param int $frequency frequency: 0 = once, secoundly – yearly = 1–7 * @param mixed $rec_end recurrency end: ('' = forever | integer = number of times | timestring = explicit date) * @param int $interval Interval for frequency (every 2,3,4 weeks…) * @param string $days Array with the number of the days the event accures (example: array(0,1,5) = Sunday, Monday, Friday * @param string $weekstart Startday of the Week ( 0 = Sunday – 6 = Saturday) * @param string $exept_dates exeption dates: Array with timestamps of dates that should not be includes in the recurring event * @param string $url optional URL for that event * @param string $lang Language of the strings used in the event (iso code) * @param string $uid Optional UID for the ToDo * @uses iCalBase::setLanguage() * @uses iCalBase::setOrganizer() * @uses setStartDate() * @uses setDuration() * @uses setCompleted() * @uses iCalBase::setLastMod() * @uses setPercent() * @uses setLocation() * @uses iCalBase::setSequence() * @uses iCalBase::setCategories() * @uses iCalBase::setDescription() * @uses setSummary() * @uses iCalBase::setPriority() * @uses iCalBase::setClass() * @uses iCalBase::setAttendees() * @uses iCalBase::setStatus() * @uses iCalBase::setURL() * @uses iCalBase::setFrequency() * @uses setRecEnd() * @uses iCalBase::setInterval() * @uses iCalBase::setDays() * @uses iCalBase::setWeekStart() * @uses iCalBase::setExeptDates() * @uses setAlarm() * @uses setUID() * @since 1.020 - 2002-12-24 */ function iCalToDo($summary, $description, $location, $start, $duration, $end, $percent, $prio, $status, $class, $organizer, $attendees, $categories, $last_mod, $alarm, $frequency, $rec_end, $interval, $days, $weekstart, $exept_dates, $url, $lang, $uid) { parent::iCalBase(); parent::setLanguage($lang); parent::setOrganizer($organizer); $this->setStartDate($start); $this->setDuration($duration); $this->setCompleted($end); parent::setLastMod($last_mod); $this->setPercent($percent); parent::setLocation($location); parent::setSequence(0); parent::setCategories($categories); parent::setDescription($description); parent::setSummary($summary); parent::setPriority($prio); parent::setClass($class); parent::setAttendees($attendees); parent::setStatus($status); parent::setURL($url); parent::setFrequency($frequency); $this->setRecEnd($rec_end); parent::setInterval($interval); parent::setDays($days); parent::setWeekStart($weekstart); parent::setExeptDates($exept_dates); $this->setAlarm($alarm); $this->setUID($uid); }
/** * Constructor * * Only job is to set all the variablesnames * * @param string $summary Title for the event * @param string $description Description * @param int $start Start time for the event (timestamp) * @param int $created Creation date for the event (timestamp) * @param int $last_mod Last modification date for the event (timestamp) * @param int $status Status of the event (0 = TENTATIVE, 1 = CONFIRMED, 2 = CANCELLED) * @param int $class (0 = PRIVATE | 1 = PUBLIC | 2 = CONFIDENTIAL) * @param array $organizer The organizer use array('Name', '*****@*****.**') * @param array $attendees key = attendee name, value = e-mail, second value = role of the attendee [0 = CHAIR | 1 = REQ | 2 = OPT | 3 =NON] (example: array('Michi' => 'flaimo@gmx.net,1'); ) * @param array $categories Array with Strings (example: array('Freetime','Party')) * @param int $frequency frequency: 0 = once, secoundly yearly = 17 * @param mixed $rec_end recurrency end: ('' = forever | integer = number of times | timestring = explicit date) * @param int $interval Interval for frequency (every 2,3,4 weeks ) * @param string $days Array with the number of the days the event accures (example: array(0,1,5) = Sunday, Monday, Friday * @param string $weekstart Startday of the Week ( 0 = Sunday 6 = Saturday) * @param string $exept_dates exeption dates: Array with timestamps of dates that should not be includes in the recurring event * @param string $url optional URL for that event * @param string $lang Language of the strings used in the event (iso code) * @param string $uid Optional UID for the Journal * @uses setSummary() * @uses iCalBase::setDescription() * @uses setStartDate() * @uses setCreated() * @uses iCalBase::setLastMod() * @uses iCalBase::setStatus() * @uses iCalBase::setClass() * @uses iCalBase::setOrganizer() * @uses iCalBase::setAttendees() * @uses iCalBase::setCategories() * @uses iCalBase::setURL() * @uses iCalBase::setLanguage() * @uses iCalBase::setFrequency() * @uses setRecEnd() * @uses iCalBase::setInterval() * @uses iCalBase::setDays() * @uses iCalBase::setWeekStart() * @uses iCalBase::setExeptDates() * @uses iCalBase::setSequence() * @uses setUID() */ function __construct($summary, $description, $start, $created, $last_mod, $status, $class, $organizer, $attendees, $categories, $frequency, $rec_end, $interval, $days, $weekstart, $exept_dates, $url, $lang, $uid) { parent::__construct(); parent::setSummary($summary); parent::setDescription($description); $this->setStartDate($start); $this->setCreated($created); parent::setLastMod($last_mod); parent::setStatus($status); parent::setClass($class); parent::setOrganizer($organizer); parent::setAttendees($attendees); parent::setCategories($categories); parent::setURL($url); parent::setLanguage($lang); parent::setFrequency($frequency); $this->setRecEnd($rec_end); parent::setInterval($interval); parent::setDays($days); parent::setWeekStart($weekstart); parent::setExeptDates($exept_dates); parent::setSequence(0); $this->setUID($uid); }
/** * Constructor * * Only job is to set all the variablesnames * * @param array $organizer The organizer - use array('Name', '*****@*****.**') * @param int $start Start time for the event (timestamp; if you want an allday event the startdate has to start at 00:00:00) * @param int $end Start time for the event (timestamp or write 'allday' for an allday event) * @param string $location Location * @param int $transp Transparancy (0 = OPAQUE | 1 = TRANSPARENT) * @param array $categories Array with Strings (example: array('Freetime','Party')) * @param string $description Description * @param string $summary Title for the event * @param int $class (0 = PRIVATE | 1 = PUBLIC | 2 = CONFIDENTIAL) * @param array $attendees key = attendee name, value = e-mail, second value = role of the attendee [0 = CHAIR | 1 = REQ | 2 = OPT | 3 =NON] (example: array('Michi' => 'flaimo@gmx.net,1'); ) * @param int $prio riority = 09 * @param int $frequency frequency: 0 = once, secoundly yearly = 17 * @param mixed $rec_end recurrency end: ('' = forever | integer = number of times | timestring = explicit date) * @param int $interval Interval for frequency (every 2,3,4 weeks ) * @param string $days Array with the number of the days the event accures (example: array(0,1,5) = Sunday, Monday, Friday * @param string $weekstart Startday of the Week ( 0 = Sunday - 6 = Saturday) * @param string $exept_dates exeption dates: Array with timestamps of dates that should not be includes in the recurring event * @param array $alarm Array with all the alarm information, "''" for no alarm * @param int $status Status of the event (0 = TENTATIVE, 1 = CONFIRMED, 2 = CANCELLED) * @param string $url optional URL for that event * @param string $language Language of the strings used in the event (iso code) * @param string $uid Optional UID for the event * @uses iCalBase::setLanguage() * @uses iCalBase::setOrganizer() * @uses setStartDate() * @uses setEndDate() * @uses iCalBase::setLocation() * @uses setTransp() * @uses iCalBase::setSequence() * @uses iCalBase::setCategories() * @uses iCalBase::setDescription() * @uses iCalBase::setSummary() * @uses iCalBase::setPriority() * @uses iCalBase::setClass() * @uses setUID() * @uses iCalBase::setAttendees() * @uses iCalBase::setFrequency() * @uses setRecEnd() * @uses iCalBase::setInterval() * @uses iCalBase::setDays() * @uses iCalBase::setWeekStart() * @uses iCalBase::setExeptDates() * @uses iCalBase::setStatus() * @uses setAlarm() * @uses iCalBase::setURL() * @uses setUID() */ function __construct($organizer, $start, $end, $location, $transp, $categories, $description, $summary, $class, $attendees, $prio, $frequency, $rec_end, $interval, $days, $weekstart, $exept_dates, $alarm, $status, $url, $language, $uid) { parent::__construct(); parent::setLanguage($language); parent::setOrganizer($organizer); $this->setStartDate($start); $this->setEndDate($end); parent::setLocation($location); $this->setTransp($transp); parent::setSequence(0); parent::setCategories($categories); parent::setDescription($description); parent::setSummary($summary); parent::setPriority($prio); parent::setClass($class); parent::setAttendees($attendees); parent::setFrequency($frequency); $this->setRecEnd($rec_end); parent::setInterval($interval); parent::setDays($days); parent::setWeekStart($weekstart); parent::setExeptDates($exept_dates); parent::setStatus($status); $this->setAlarm($alarm); parent::setURL($url); $this->setUID($uid); }