dolibarr 19.0.3
CdavLib Class Reference

Define Common function to access calendar items and format it in vCalendar. More...

Public Member Functions

 __construct ($user, $db, $langs)
 Constructor.
 
 getSqlCalEvents ($calid, $oid=false, $ouri=false)
 Base sql request for calendar events.
 
 toVCalendar ($calid, $obj)
 Convert calendar row to VCalendar string.
 
 getFullCalendarObjects ($calendarId, $bCalendarData)
 getFullCalendarObjects
 

Detailed Description

Define Common function to access calendar items and format it in vCalendar.

Definition at line 28 of file dav.class.php.

Constructor & Destructor Documentation

◆ __construct()

CdavLib::__construct ( $user,
$db,
$langs )

Constructor.

Parameters
User$useruser
DoliDB$dbDatabase handler
Translate$langstranslation

Definition at line 43 of file dav.class.php.

References user.

Member Function Documentation

◆ getFullCalendarObjects()

CdavLib::getFullCalendarObjects ( $calendarId,
$bCalendarData )

getFullCalendarObjects

Parameters
int$calendarIdCalendar id
int$bCalendarDataAdd calendar data
Returns
array|string[][]

Definition at line 251 of file dav.class.php.

◆ getSqlCalEvents()

CdavLib::getSqlCalEvents ( $calid,
$oid = false,
$ouri = false )

Base sql request for calendar events.

Parameters
int$calidCalendard id
int | boolean$oidOid
int | boolean$ouriOuri
Returns
string

Definition at line 58 of file dav.class.php.

References getEntity(), and user.

◆ toVCalendar()

CdavLib::toVCalendar ( $calid,
$obj )

Convert calendar row to VCalendar string.

Parameters
int$calidCalendar id
Object$objObject id
Returns
string

Definition at line 118 of file dav.class.php.


The documentation for this class was generated from the following file: