Property | Type | Description | |
---|---|---|---|
$_details | array | The current vacation details. | |
$_soap | SoapClient | The SOAP connection | |
$_soap_session | string | The SOAP session id |
Method | Description | |
---|---|---|
setScriptActive ( array $script ) | Sets a script running on the backend. |
Method | Description | |
---|---|---|
_checkConfig ( ) | Checks if the realm has a specific configuration. If not, tries to fall back on the default configuration. If still not a valid configuration then returns an exception. | |
_connect ( ) | Connects to the SOAP server. | |
_getUserDetails ( string $password ) : array | Retrieves the current vacation details for the user. |
protected _checkConfig ( ) |
protected _getUserDetails ( string $password ) : array | ||
$password | string | The password for user. |
return | array | Vacation details |
public setScriptActive ( array $script ) | ||
$script | array | The filter script information. Passed elements: - 'name': (string) the script name. - 'recipes': (array) the filter recipe objects. - 'script': (string) the filter script. |
protected array $_details | ||
return | array |
protected string $_soap_session | ||
return | string |