2require_once(__DIR__ .
'/ilSoapMethod.php');
3require_once(__DIR__ .
'/class.ilSoapPluginException.php');
4require_once(
'./webservice/soap/classes/class.ilSoapAdministration.php');
50 if (!$this->__checkSession($session_id)) {
64 if (!isset($params[
$i])) {
66 throw new ilSoapPluginException(
"Request is missing at least one of the following parameters: $names");
An exception for terminatinating execution or to throw for unit testing.
Class ilAbstractSoapMethod.
getServiceStyle()
Get the service style, e.g.'rpc'string
getServiceUse()
Get the service use, e.g.'encoded'string
__raiseError($a_message, $a_code)
Overwrites the __raiseError method and transforms any raised errors into ilPluginExceptions.
checkParameters(array $params)
Check that all input parameters are present when executing the soap method.
initIliasAndCheckSession($session_id)
Use this method at the beginning of your execute() method to check if the provided session ID is vali...
initAuth($sid)
Init authentication.
Class ilSoapPluginException.
getInputParams()
Get the input parameters.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc