Documentation

FreeBusyData
in package

FreeBusyData is a helper class that manages freebusy information.

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Table of Contents

$data  : array<string|int, mixed>
A list of free-busy times.
$end  : int
End timestamp.
$start  : int
Start timestamp.
__construct()  : mixed
add()  : mixed
Adds free or busytime to the data.
getData()  : mixed

Properties

$data

A list of free-busy times.

protected array<string|int, mixed> $data

Methods

__construct()

public __construct(mixed $start, mixed $end) : mixed
Parameters
$start : mixed
$end : mixed
Return values
mixed

add()

Adds free or busytime to the data.

public add(int $start, int $end, string $type) : mixed
Parameters
$start : int
$end : int
$type : string

FREE, BUSY, BUSY-UNAVAILABLE or BUSY-TENTATIVE

Return values
mixed

getData()

public getData() : mixed
Return values
mixed

Search results