19declare(strict_types=1);
78 for ($i = 0, $iMax = count($this->
getInputParams()); $i < $iMax; $i++) {
81 throw new ilSoapPluginException(
"Request is missing at least one of the following parameters: $names");
95 protected function raiseError(
string $a_message, $a_code)
Class ilAbstractSoapMethod.
getServiceStyle()
Get the service style, e.g.'rpc' string
getServiceUse()
Get the service use, e.g.'encoded' string
raiseError(string $a_message, $a_code)
Overwrites the __raiseError method and transforms any raised errors into ilPluginExceptions.
initIliasAndCheckSession(string $session_id)
Use this method at the beginning of your execute() method to check if the provided session ID is vali...
checkParameters(array $params)
Check that all input parameters are present when executing the soap method.
checkSession(string $sid)
Class ilSoapPluginException.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getInputParams()
Get the input parameters.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc