5 require_once(
'./webservice/soap/classes/class.ilSoapAdministration.php');
6 require_once(
'./Services/WebServices/SOAP/classes/class.ilSoapPluginException.php');
66 if (!$this->__checkSession($session_id)) {
82 if (!isset($params[
$i])) {
84 throw new ilSoapPluginException(
"Request is missing at least one of the following parameters: $names");
95 return 'urn:' . ilOrgUnitSOAPServicesPlugin::PLUGIN_NAME;
112 self::SID => self::TYPE_STRING,
124 abstract protected function run(array $params);
136 $session_id = (isset($params[0])) ? $params[0] :
'';
137 $this->
init($session_id);
142 $this->
error(
'Permission denied');
145 $clean_params = array();
148 $clean_params[$key] = $params[
$i];
152 return $this->
run($clean_params);
172 private function init($session_id)
getServiceUse()
Get the service use, e.g.'encoded'string
getInputParams()
Get the input parameters.Array keys must correspond to parameter names and values must correspond to ...
__raiseError($a_message, $a_code)
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.
checkParameters(array $params)
Check that all input parameters are present when executing the soap method.
getServiceStyle()
Get the service style, e.g.'rpc'string
getServiceNamespace()
Get the namespace of the service where this method belongs to.string
getAdditionalInputParams()