Class Event
Extends Model
Constants
STATUS_CANCELLED
Properties
now
Methods
__construct
public __construct(VCalendar $doc, array $config = []): mixed
setUid
public setUid(string $uid): static
|
|
|
$uid |
string |
|
| return |
static |
|
setSequence
public setSequence(int $sequence): static
|
|
|
$sequence |
int |
|
| return |
static |
|
setStart
public setStart(DateTime $start): static
|
|
|
$start |
DateTime |
|
| return |
static |
|
getStart
public getStart(): ?DateTime
setEnd
public setEnd(DateTime $end): static
|
|
|
$end |
DateTime |
|
| return |
static |
|
getEnd
public getEnd(): ?DateTime
setStatus
public setStatus(string $status): static
|
|
|
$status |
string |
|
| return |
static |
|
setSummary
public setSummary(string $summary): static
|
|
|
$summary |
string |
|
| return |
static |
|
setDescription
public setDescription(string $description): static
|
|
|
$description |
string |
|
| return |
static |
|
setLocation
public setLocation(string $location): static
|
|
|
$location |
string |
|
| return |
static |
|
setRule
Sets the repeating rule for this event.
NOTE: the rule end date will be ignored; to set the event end date use setEnd().
public setRule(Rule $rule): static
setOrganizers
public setOrganizers(mixed $users): static
|
|
|
$users |
mixed |
|
| return |
static |
|
addOrganizers
public addOrganizers(mixed $users): static
|
|
|
$users |
mixed |
|
| return |
static |
|
setAttendees
public setAttendees(mixed $users, ?bool $accepted = null): static
|
|
|
$users |
mixed |
|
$accepted |
?bool |
|
| return |
static |
|
addAttendees
public addAttendees(mixed $users, ?bool $accepted = null): static
|
|
|
$users |
mixed |
|
$accepted |
?bool |
|
| return |
static |
|