Creates a new RepeatingEvent.
Event
RepeatingEvent
(string $name, string $description, string $date, string $time, int $id, mixed $extForID, int $priority, string $access, int $duration, string $status, string $owner, mixed $category, string $login, $cal_type, $location, $url, $due_date, $due_time, $percent, string $moddate, string $modtime, $guid, string $rpt_type, string $end, int $frequency, string $days, string $rpt_bymonth, string $rpt_bymonthday, string $rpt_byday, string $rpt_bysetpos, string $rpt_byweekno, string $rpt_byyearday, string $rpt_wkst, string $rpt_count, string $endtime, array $exceptions, array $inclusions, array $rpt_all_dates)
-
string
$name: Name of the event
-
string
$description: Event's description
-
string
$date: Event's date (in YYYYMMDD format)
-
string
$time: Event's time (in HHMMSS format)
-
string
$moddate: Event's mod date (in YYYYMMDD format)
-
string
$modtime: Event's mod time (in HHMMSS format)
-
int
$id: Event's ID
-
mixed
$extForID: Event's extension ID (or '' for none)
-
int
$priority: Event's priority
-
string
$access: Event's access level
-
int
$duration: Event's duration (in minutes)
-
string
$status: Event's status
-
string
$owner: Event's cal_create_by
-
mixed
$category: Event's category ID
-
string
$login: Event's owner
-
string
$rpt_type: Event's repeat type
-
string
$end: End date for repetition
-
string
$endtime: End time for repetition
-
int
$frequency: Frequency of repetition
-
string
$days: Days on which the event falls (for weekly events)
-
string
$rpt_bymonth: Months that events occur
-
string
$rpt_bymonthday: Days of month that events occur
-
string
$rpt_byday: Days on which the event falls (replaces $days)
-
string
$rpt_bysetpos: Nth occurance within existing event set
-
string
$rpt_byweekno: Weeks that events occur
-
string
$rpt_byyearday: Days of the year that events occur
-
string
$rpt_wkst: Start day of week for ByDay events
-
string
$rpt_count: Number of repeat occurances (including orginal date)
-
array
$exceptions: Dates on which the event should not occur
-
array
$inclusions: Additional dates on which the event should occur
-
array
$rpt_all_dates: All dates on which the event should occur
-
$cal_type
-
$location
-
$url
-
$due_date
-
$due_time
-
$percent
-
$guid
Adds the event's complete date list
void
addRepeatAllDates
(array $dates)
-
array
$dates: All date of event (in YYYYMMDD format)
Adds an exception to this event
Add the ID to the end to aid in matching up with the events class
void
addRepeatException
(string $exception, int $id)
-
string
$exception: Date of exception (in YYYYMMDD format)
-
int
$id: ID of exception
Adds an inclusion to this event
void
addRepeatInclusion
(string $inclusion)
-
string
$inclusion: Date of inclusion (in YYYYMMDD format)
Gets the event's complete date list
array
getRepeatAllDates
()
Gets the days in which the event falls.
string
getRepeatByDay
()
Gets the months in which the event falls.
string
getRepeatByMonth
()
Gets the days of the month in which the event falls.
string
getRepeatByMonthDay
()
Gets the Nth occurance of the event set.
string
getRepeatBySetPos
()
Gets the weeks in which the event falls.
string
getRepeatByWeekNo
()
Gets the days of the year in which the event falls.
string
getRepeatByYearDay
()
Gets the Count value for this event
integer
getRepeatCount
()
Gets the days on which the event falls.
string
getRepeatDays
()
Gets the event's end date
int
getRepeatEnd
()
Gets the event's end date/time
string
getRepeatEndDateTime
()
Gets the event's end date/time
string
getRepeatEndDateTimeTS
()
Gets the event's end time
int
getRepeatEndTime
()
Gets the event's exception dates
array
getRepeatExceptions
()
Gets the event's repeat frequency
int
getRepeatFrequency
()
Gets the event's inclusion dates
array
getRepeatInclusions
()
Gets the event's repeat type
Can be one of:
- daily
- weekly
- monthlyByDay
- monthlyBySetPos
- monthlyByDate
- yearly
string
getRepeatType
()
Gets the start of the week for ByDay events.
string
getRepeatWkst
()
Inherited Methods
Inherited From Event
Event::Event()
Event::getAccess()
Event::getCalType()
Event::getCalTypeName()
Event::getCategory()
Event::getClone()
Event::getDate()
Event::getDateTime()
Event::getDateTimeAdjusted()
Event::getDateTimeTS()
Event::getDescription()
Event::getDue()
Event::getDueDate()
Event::getDueDateTimeTS()
Event::getDueTime()
Event::getDuration()
Event::getEndDate()
Event::getEndDateTime()
Event::getEndDateTimeTS()
Event::getEndTime()
Event::getExtForID()
Event::getGuid()
Event::getID()
Event::getLocation()
Event::getLogin()
Event::getModDate()
Event::getModTime()
Event::getName()
Event::getOwner()
Event::getPercent()
Event::getPriority()
Event::getStatus()
Event::getTime()
Event::getUrl()
Event::isAllDay()
Event::isTimed()
Event::isUntimed()
Event::setClone()
Event::setDate()
Event::setDuration()
Event::setExtForID()
Event::setGuid()
Event::setName()
Event::setTime()