CalendarWebserviceClient
in package
Calendar Class WebserviceClient
Tags
Table of Contents
Properties
- $SOAPClient : object
- SOAP Client object
Methods
- __construct() : mixed
- CalendarWebserviceClient Constructor
- getEventList() : array<string|int, mixed>
- Get the event list
- verifyHost() : mixed
- verify the host name, if its exists returns the host data
Properties
$SOAPClient
SOAP Client object
private
object
$SOAPClient
Tags
Methods
__construct()
CalendarWebserviceClient Constructor
public
__construct(string $location, string $uri) : mixed
Parameters
- $location : string
-
the URL of the SOAP server to send the request
- $uri : string
-
the target namespace of the SOAP service
getEventList()
Get the event list
public
getEventList(int $start_date, int $end_date, bool $auth, string $term, int $langId, int $foreignHostId, int $myHostId, bool $showEventsOnlyInActiveLanguage) : array<string|int, mixed>
Parameters
- $start_date : int
-
Start date
- $end_date : int
-
End date
- $auth : bool
-
Authorization
- $term : string
-
search term
- $langId : int
-
Language id
- $foreignHostId : int
-
Foreign Host id
- $myHostId : int
-
Host id
- $showEventsOnlyInActiveLanguage : bool
-
get event only active frontend language
Return values
array<string|int, mixed> —Event list object
verifyHost()
verify the host name, if its exists returns the host data
public
verifyHost(string $myHost, string $foreignKey) : mixed
Parameters
- $myHost : string
-
host name
- $foreignKey : string
-
reference Key
Return values
mixed —host details on success, false otherwise