54 $this->ext_consumer_id = $a_id;
64 $this->ref_id = $a_ref_id;
159 $this->user_language =
$lang;
175 $this->active = $value;
183 return $this->active;
191 $this->role = $role_id;
205 $this->enabled = $a_status;
227 $toolConsumer->initialize();
228 $toolConsumer->setRecordId(
$id);
230 $toolConsumer->initialize();
232 $toolConsumer->setRecordId(
$id);
236 return $toolConsumer;
247 $toolConsumer->initialize();
248 $toolConsumer->setExtConsumerId(
$id);
249 if (!
$dataConnector->loadGlobalToolConsumerSettings($toolConsumer)) {
250 $toolConsumer->initialize();
252 return $toolConsumer;
266 $toolConsumer->initialize();
267 $toolConsumer->setExtConsumerId($a_ext_consumer_id);
268 $toolConsumer->setRefId($a_ref_id);
272 return self::fromRecordId($consumer_pk, $a_data_connector);
274 $toolConsumer->initialize();
275 return $toolConsumer;
Class to represent an LTI Data Connector for ILIAS.
deleteGlobalToolConsumerSettings(ilLTIToolConsumer $consumer)
Delete global tool consumer settings.
saveGlobalToolConsumerSettings(ilLTIToolConsumer $consumer)
Save lti_ext_consumer type $DIC.
lookupRecordIdByGlobalSettingsAndRefId(ilLTIToolConsumer $consumer)
Lookup record id for global settings and ref_id.
for($i=1; $i<=count($kw_cases_sel); $i+=1) $lang
static getLogger($a_component_id)
Get component logger.