CalendarWebserviceServer
in package
Calendar Class CalendarWebserviceServer
Tags
Table of Contents
Properties
- $dirPath : string
- Directory path
- $tablePrefix : string
- Table prefix
Methods
- __construct() : mixed
- CalendarWebserviceServer Constructor
- addiere() : int
- addiere
- getEventList() : CalendarWebserviceEvent
- Get the event list
- verifyHost() : mixed
- verify the host name, if its exists returns the host data
Properties
$dirPath
Directory path
private
string
$dirPath
Tags
$tablePrefix
Table prefix
private
string
$tablePrefix
Methods
__construct()
CalendarWebserviceServer Constructor
public
__construct() : mixed
addiere()
addiere
public
addiere(int $a, int $b) : int
Parameters
- $a : int
-
number value
- $b : int
-
number value
Return values
int —sum of the numbers
getEventList()
Get the event list
public
getEventList(int $start_date, int $end_date, bool $auth, string $term, int $langId, int $hostId, int $foreignHostId, bool $showEventsOnlyInActiveLanguage) : CalendarWebserviceEvent
Parameters
- $start_date : int
-
Start date
- $end_date : int
-
End date
- $auth : bool
-
Authorization
- $term : string
-
search term
- $langId : int
-
Language id
- $hostId : int
-
Foreign Host id
- $foreignHostId : int
-
Host id
- $showEventsOnlyInActiveLanguage : bool
-
get event only active frontend language
Return values
CalendarWebserviceEvent —Event list object
verifyHost()
verify the host name, if its exists returns the host data
public
verifyHost(string $foreignHost, string $foreignKey) : mixed
Parameters
- $foreignHost : string
-
host name
- $foreignKey : string
-
reference Key
Return values
mixed —host details on success, false otherwise