Methods
Cancels an recurring event and notfies (if enabled) all participants
cancelRecurringEvents(array $ids, integer $cancelled) : boolean
Static
Parameters
$ids
array
- Array of recurring events
$cancelled
integer
- Should it be cancelled or reactivated?
Exceptions
Returns
boolean
Confirms (notfies organizer + participants) an event
confirmRecurringEvent(object $event) : boolean
Static
Parameters
Exceptions
Returns
boolean
Deletes recurring events of an event incl. notifications
deleteEventsRecurringEvents(integer $event_id) : Null
Static
Parameters
Exceptions
Returns
Null
Publish or unpublish the recurring events
deleteRecurringEvents(array $ids) : boolean
Static
Parameters
$ids
array
Ids of the recurring events
Exceptions
Returns
boolean
Get the EVENT id for the Recurring Date!
getEventIdForDateId(integer $rId) : integer | null
Static
Parameters
$rId
integer
The recurring Id
Returns
integer
null
Gets the recurring dates (limit inc) for the given event id
getRecurringDates(integer $eventId, integer $begin = 2
, integer $limit = 10
, string $orderby = "r.begin ASC"
, integer $limitstart = 0
) : array
Static
Parameters
$begin
integer
- 2 = future events, 0 = all events
Returns
array
- of objects (db rows)
Get only Matukio Recurring Dates data
getRecurringDatesMinimal(integer $eventId, string $begin = 'future'
, integer $offset = 0
, integer $limit = 10
, string $orderBy = 'r.begin ASC'
) : mixed
Static
Parameters
$eventId
integer
Event Id (Not Recurring)
Returns
mixed
Get the recurring table only (Joined with Location!)
getRecurringTableOnly(integer $eventId, integer $begin = 0
, integer $limit = 10
, string $orderby = 'begin ASC'
, integer $limitstart = 0
) : mixed
Static
Parameters
$eventId
integer
$begin
integer
$limit
integer
$orderby
string
$limitstart
integer
Returns
mixed
Publish or unpublish the recurring events
publishRecurringEvents(array $ids, integer $publish) : boolean
Static
Parameters
$ids
array
Ids of the recurring events
$publish
integer
Publish or unpublish them
Exceptions
Returns
boolean
Saves the recurring date
saveRecurring(boolean $frontend = false
) : string
Static
Parameters
Exceptions
Returns
string
- (id of the recurring date)
Saves a new recurring date for the given event
saveRecurringDateForEvent(object $row) : mixed
Static
deprecated |
Events don't have a begin anymore |
Parameters
Exceptions
Returns
mixed