ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilCmiXapiLrsType Class Reference
+ Collaboration diagram for ilCmiXapiLrsType:

Public Member Functions

 __construct (int $a_type_id=0)
 Constructor. More...
 
 setTypeId (int $a_type_id)
 
 getTypeId ()
 
 setTitle (string $a_title)
 
 getTitle ()
 
 setDescription (string $a_description)
 
 getDescription ()
 
 setAvailability (int $a_availability)
 
 getAvailability ()
 
 isAvailable ()
 
 setTimeToDelete (?int $a_time_to_delete)
 
 getTimeToDelete ()
 
 setLrsEndpoint (string $a_endpoint)
 
 getLrsEndpoint ()
 
 setLrsKey (string $a_lrs_key)
 
 getLrsKey ()
 
 setLrsSecret (string $a_lrs_secret)
 
 getLrsSecret ()
 
 setPrivacyIdent (int $a_option)
 
 getPrivacyIdent ()
 
 setPrivacyName (int $a_option)
 
 getPrivacyName ()
 
 getOnlyMoveon ()
 
 setOnlyMoveon (bool $only_moveon)
 
 getAchieved ()
 
 setAchieved (bool $achieved)
 
 getAnswered ()
 
 setAnswered (bool $answered)
 
 getCompleted ()
 
 setCompleted (bool $completed)
 
 getFailed ()
 
 setFailed (bool $failed)
 
 getInitialized ()
 
 setInitialized (bool $initialized)
 
 getPassed ()
 
 setPassed (bool $passed)
 
 getProgressed ()
 
 setProgressed (bool $progressed)
 
 getSatisfied ()
 
 setSatisfied (bool $satisfied)
 
 getTerminated ()
 
 setTerminated (bool $terminated)
 
 getHideData ()
 
 setHideData (bool $hide_data)
 
 getTimestamp ()
 
 setTimestamp (bool $timestamp)
 
 getDuration ()
 
 setDuration (bool $duration)
 
 getNoSubstatements ()
 
 setNoSubstatements (bool $no_substatements)
 
 getDeleteData ()
 
 setDeleteData (int $deleteData)
 
 getForcePrivacySettings ()
 
 setForcePrivacySettings (bool $force_privacy_settings)
 
 setPrivacyCommentDefault (string $a_option)
 
 getPrivacyCommentDefault ()
 
 setExternalLrs (bool $a_option)
 
 getExternalLrs ()
 
 getLaunchType ()
 
 setRemarks (string $a_remarks)
 
 getRemarks ()
 
 isBypassProxyEnabled ()
 
 setBypassProxyEnabled (bool $bypassProxyEnabled)
 
 getEnrichData ()
 
 setEnrichData (bool $enrichData)
 
 save ()
 
 getLrsEndpointStatementsLink ()
 
 getLrsEndpointStatementsAggregationLink ()
 
 getLrsEndpointDeleteLink ()
 
 getLrsEndpointBatchLink ()
 
 getLrsEndpointStateLink ()
 
 getBasicAuth ()
 
 getBasicAuthWithoutBasic ()
 

Static Public Member Functions

static getDbTableName ()
 
static buildBasicAuth ($lrsKey, $lrsSecret)
 
static buildBasicAuthWithoutBasic ($lrsKey, $lrsSecret)
 

Data Fields

const DB_TABLE_NAME = 'cmix_lrs_types'
 
const AVAILABILITY_NONE = 0
 
const AVAILABILITY_EXISTING = 1
 
const AVAILABILITY_CREATE = 2
 
const LAUNCH_TYPE_PAGE = "page"
 
const LAUNCH_TYPE_LINK = "link"
 
const LAUNCH_TYPE_EMBED = "embed"
 
const PRIVACY_IDENT_IL_UUID_USER_ID = 0
 
const PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT = 1
 
const PRIVACY_IDENT_IL_UUID_LOGIN = 2
 
const PRIVACY_IDENT_REAL_EMAIL = 3
 
const PRIVACY_IDENT_IL_UUID_RANDOM = 4
 
const PRIVACY_IDENT_IL_UUID_SHA256 = 5
 
const PRIVACY_IDENT_IL_UUID_SHA256URL = 6
 
const PRIVACY_NAME_NONE = 0
 
const PRIVACY_NAME_FIRSTNAME = 1
 
const PRIVACY_NAME_LASTNAME = 2
 
const PRIVACY_NAME_FULLNAME = 3
 
const ENDPOINT_STATEMENTS_SUFFIX = 'statements'
 
const ENDPOINT_AGGREGATE_SUFFIX = 'statements/aggregate'
 
const ENDPOINT_DELETE_SUFFIX = 'v2/batchdelete/initialise'
 
const ENDPOINT_BATCH_SUFFIX = 'connection/batchdelete'
 
const ENDPOINT_STATE_SUFFIX = 'state'
 

Protected Member Functions

 read ()
 
 create ()
 
 update ()
 
 delete ()
 

Protected Attributes

int $type_id = 0
 
string $title = ""
 
string $description = ""
 
int $availability = self::AVAILABILITY_CREATE
 
string $lrs_endpoint = ""
 
string $lrs_key = ""
 
string $lrs_secret = ""
 
int $privacy_ident = 3
 
int $privacy_name = 0
 
bool $force_privacy_settings = false
 
string $privacy_comment_default = ""
 
bool $external_lrs = false
 
int $time_to_delete = null
 
string $launch_type = self::LAUNCH_TYPE_LINK
 
string $remarks = ""
 
bool $bypassProxyEnabled = false
 
bool $only_moveon = false
 
bool $achieved = true
 
bool $answered = true
 
bool $completed = true
 
bool $failed = true
 
bool $initialized = true
 
bool $passed = true
 
bool $progressed = true
 
bool $satisfied = true
 
bool $terminated = true
 
bool $hide_data = false
 
bool $timestamp = false
 
bool $duration = true
 
bool $no_substatements = false
 
int $deleteData = 0
 
bool $enrichData = false
 

Private Attributes

ilDBInterface $database
 

Detailed Description

Definition at line 30 of file class.ilCmiXapiLrsType.php.

Constructor & Destructor Documentation

◆ __construct()

ilCmiXapiLrsType::__construct ( int  $a_type_id = 0)

Constructor.

Definition at line 125 of file class.ilCmiXapiLrsType.php.

126 {
127 global $DIC;
128 $this->database = $DIC->database();
129 if ($a_type_id) {
130 $this->type_id = $a_type_id;
131 $this->read();
132 }
133 }
global $DIC
Definition: shib_login.php:26

References $DIC, ILIAS\Repository\database(), and read().

+ Here is the call graph for this function:

Member Function Documentation

◆ buildBasicAuth()

static ilCmiXapiLrsType::buildBasicAuth (   $lrsKey,
  $lrsSecret 
)
static

Definition at line 607 of file class.ilCmiXapiLrsType.php.

607 : string
608 {
609 return 'Basic ' . base64_encode("{$lrsKey}:{$lrsSecret}");
610 }

Referenced by getBasicAuth(), ilLTIConsumerScoringGUI\initTableData(), and ilLTIConsumerXapiStatementsGUI\initTableData().

+ Here is the caller graph for this function:

◆ buildBasicAuthWithoutBasic()

static ilCmiXapiLrsType::buildBasicAuthWithoutBasic (   $lrsKey,
  $lrsSecret 
)
static

Definition at line 617 of file class.ilCmiXapiLrsType.php.

617 : string
618 {
619 return base64_encode("{$lrsKey}:{$lrsSecret}");
620 }

Referenced by getBasicAuthWithoutBasic().

+ Here is the caller graph for this function:

◆ create()

ilCmiXapiLrsType::create ( )
protected

Definition at line 519 of file class.ilCmiXapiLrsType.php.

519 : void
520 {
521 $this->setTypeId($this->database->nextId(self::DB_TABLE_NAME));
522 $this->update();
523 }

References ILIAS\Repository\database(), setTypeId(), and update().

Referenced by save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete()

ilCmiXapiLrsType::delete ( )
protected

Definition at line 569 of file class.ilCmiXapiLrsType.php.

569 : bool
570 {
571 $query = "DELETE FROM " . self::DB_TABLE_NAME . " WHERE type_id = %s";
572 $this->database->manipulateF($query, ['integer'], [$this->getTypeId()]);
573
574 return true;
575 }

References ILIAS\Repository\database(), and getTypeId().

+ Here is the call graph for this function:

◆ getAchieved()

ilCmiXapiLrsType::getAchieved ( )

Definition at line 258 of file class.ilCmiXapiLrsType.php.

258 : bool
259 {
260 return $this->achieved;
261 }

References $achieved.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getAnswered()

ilCmiXapiLrsType::getAnswered ( )

Definition at line 268 of file class.ilCmiXapiLrsType.php.

268 : bool
269 {
270 return $this->answered;
271 }

References $answered.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getAvailability()

ilCmiXapiLrsType::getAvailability ( )

Definition at line 170 of file class.ilCmiXapiLrsType.php.

170 : int
171 {
172 return $this->availability;
173 }

References $availability.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), isAvailable(), and update().

+ Here is the caller graph for this function:

◆ getBasicAuth()

ilCmiXapiLrsType::getBasicAuth ( )

Definition at line 602 of file class.ilCmiXapiLrsType.php.

602 : string
603 {
604 return self::buildBasicAuth($this->getLrsKey(), $this->getLrsSecret());
605 }
static buildBasicAuth($lrsKey, $lrsSecret)

References buildBasicAuth(), getLrsKey(), and getLrsSecret().

Referenced by ilObjCmiXapi\getLastStatement().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getBasicAuthWithoutBasic()

ilCmiXapiLrsType::getBasicAuthWithoutBasic ( )

Definition at line 612 of file class.ilCmiXapiLrsType.php.

612 : string
613 {
615 }
static buildBasicAuthWithoutBasic($lrsKey, $lrsSecret)

References buildBasicAuthWithoutBasic(), getLrsKey(), and getLrsSecret().

+ Here is the call graph for this function:

◆ getCompleted()

ilCmiXapiLrsType::getCompleted ( )

Definition at line 278 of file class.ilCmiXapiLrsType.php.

278 : bool
279 {
280 return $this->completed;
281 }

References $completed.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getDbTableName()

static ilCmiXapiLrsType::getDbTableName ( )
static

Definition at line 33 of file class.ilCmiXapiLrsType.php.

33 : string
34 {
36 }

References DB_TABLE_NAME.

Referenced by ilCmiXapiLrsTypeList\getCountTypesForCreate(), ilCmiXapiLrsTypeList\getTypeOptions(), and ilCmiXapiLrsTypeList\getTypesData().

+ Here is the caller graph for this function:

◆ getDeleteData()

ilCmiXapiLrsType::getDeleteData ( )

Definition at line 388 of file class.ilCmiXapiLrsType.php.

388 : int
389 {
390 return $this->deleteData;
391 }

References $deleteData.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getDescription()

ilCmiXapiLrsType::getDescription ( )

Definition at line 160 of file class.ilCmiXapiLrsType.php.

160 : string
161 {
162 return $this->description;
163 }

References $description.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), and update().

+ Here is the caller graph for this function:

◆ getDuration()

ilCmiXapiLrsType::getDuration ( )

Definition at line 368 of file class.ilCmiXapiLrsType.php.

368 : bool
369 {
370 return $this->duration;
371 }

References $duration.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getEnrichData()

ilCmiXapiLrsType::getEnrichData ( )

Definition at line 453 of file class.ilCmiXapiLrsType.php.

453 : bool
454 {
455 return $this->enrichData;
456 }

References $enrichData.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getExternalLrs()

ilCmiXapiLrsType::getExternalLrs ( )

Definition at line 423 of file class.ilCmiXapiLrsType.php.

423 : bool
424 {
425 return $this->external_lrs;
426 }

References $external_lrs.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), and update().

+ Here is the caller graph for this function:

◆ getFailed()

ilCmiXapiLrsType::getFailed ( )

Definition at line 288 of file class.ilCmiXapiLrsType.php.

288 : bool
289 {
290 return $this->failed;
291 }

References $failed.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getForcePrivacySettings()

ilCmiXapiLrsType::getForcePrivacySettings ( )

Definition at line 398 of file class.ilCmiXapiLrsType.php.

398 : bool
399 {
401 }

References $force_privacy_settings.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), and update().

+ Here is the caller graph for this function:

◆ getHideData()

ilCmiXapiLrsType::getHideData ( )

Definition at line 348 of file class.ilCmiXapiLrsType.php.

348 : bool
349 {
350 return $this->hide_data;
351 }

References $hide_data.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getInitialized()

ilCmiXapiLrsType::getInitialized ( )

Definition at line 298 of file class.ilCmiXapiLrsType.php.

298 : bool
299 {
300 return $this->initialized;
301 }

References $initialized.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getLaunchType()

ilCmiXapiLrsType::getLaunchType ( )

Definition at line 428 of file class.ilCmiXapiLrsType.php.

428 : string
429 {
430 return $this->launch_type;
431 }

References $launch_type.

◆ getLrsEndpoint()

ilCmiXapiLrsType::getLrsEndpoint ( )

◆ getLrsEndpointBatchLink()

ilCmiXapiLrsType::getLrsEndpointBatchLink ( )

Definition at line 592 of file class.ilCmiXapiLrsType.php.

593 {
594 return dirname($this->getLrsEndpoint(), 2) . '/api/' . self::ENDPOINT_BATCH_SUFFIX;
595 }

References ENDPOINT_BATCH_SUFFIX, and getLrsEndpoint().

+ Here is the call graph for this function:

◆ getLrsEndpointDeleteLink()

ilCmiXapiLrsType::getLrsEndpointDeleteLink ( )

Definition at line 587 of file class.ilCmiXapiLrsType.php.

588 {
589 return dirname($this->getLrsEndpoint(), 2) . '/api/' . self::ENDPOINT_DELETE_SUFFIX;
590 }

References ENDPOINT_DELETE_SUFFIX, and getLrsEndpoint().

+ Here is the call graph for this function:

◆ getLrsEndpointStateLink()

ilCmiXapiLrsType::getLrsEndpointStateLink ( )

Definition at line 597 of file class.ilCmiXapiLrsType.php.

598 {
599 return $this->getLrsEndpoint() . '/activities/' . self::ENDPOINT_STATE_SUFFIX;
600 }

References ENDPOINT_STATE_SUFFIX, and getLrsEndpoint().

+ Here is the call graph for this function:

◆ getLrsEndpointStatementsAggregationLink()

ilCmiXapiLrsType::getLrsEndpointStatementsAggregationLink ( )

Definition at line 582 of file class.ilCmiXapiLrsType.php.

582 : string
583 {
584 return dirname($this->getLrsEndpoint(), 2) . '/api/' . self::ENDPOINT_AGGREGATE_SUFFIX;
585 }

References ENDPOINT_AGGREGATE_SUFFIX, and getLrsEndpoint().

Referenced by ilObjCmiXapi\getLastStatement().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLrsEndpointStatementsLink()

ilCmiXapiLrsType::getLrsEndpointStatementsLink ( )

Definition at line 577 of file class.ilCmiXapiLrsType.php.

577 : string
578 {
579 return $this->getLrsEndpoint() . '/' . self::ENDPOINT_STATEMENTS_SUFFIX;
580 }

References ENDPOINT_STATEMENTS_SUFFIX, and getLrsEndpoint().

+ Here is the call graph for this function:

◆ getLrsKey()

ilCmiXapiLrsType::getLrsKey ( )

Definition at line 213 of file class.ilCmiXapiLrsType.php.

213 : string
214 {
215 return $this->lrs_key;
216 }

References $lrs_key.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), getBasicAuth(), getBasicAuthWithoutBasic(), and update().

+ Here is the caller graph for this function:

◆ getLrsSecret()

ilCmiXapiLrsType::getLrsSecret ( )

Definition at line 223 of file class.ilCmiXapiLrsType.php.

223 : string
224 {
225 return $this->lrs_secret;
226 }

References $lrs_secret.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), getBasicAuth(), getBasicAuthWithoutBasic(), and update().

+ Here is the caller graph for this function:

◆ getNoSubstatements()

ilCmiXapiLrsType::getNoSubstatements ( )

Definition at line 378 of file class.ilCmiXapiLrsType.php.

378 : bool
379 {
381 }

References $no_substatements.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getOnlyMoveon()

ilCmiXapiLrsType::getOnlyMoveon ( )

Definition at line 248 of file class.ilCmiXapiLrsType.php.

248 : bool
249 {
250 return $this->only_moveon;
251 }

References $only_moveon.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getPassed()

ilCmiXapiLrsType::getPassed ( )

Definition at line 308 of file class.ilCmiXapiLrsType.php.

308 : bool
309 {
310 return $this->passed;
311 }

References $passed.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getPrivacyCommentDefault()

ilCmiXapiLrsType::getPrivacyCommentDefault ( )

Definition at line 413 of file class.ilCmiXapiLrsType.php.

413 : string
414 {
416 }

References $privacy_comment_default.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), and update().

+ Here is the caller graph for this function:

◆ getPrivacyIdent()

ilCmiXapiLrsType::getPrivacyIdent ( )

Definition at line 233 of file class.ilCmiXapiLrsType.php.

233 : int
234 {
236 }

References $privacy_ident.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getPrivacyName()

ilCmiXapiLrsType::getPrivacyName ( )

Definition at line 243 of file class.ilCmiXapiLrsType.php.

243 : int
244 {
245 return $this->privacy_name;
246 }

References $privacy_name.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getProgressed()

ilCmiXapiLrsType::getProgressed ( )

Definition at line 318 of file class.ilCmiXapiLrsType.php.

318 : bool
319 {
320 return $this->progressed;
321 }

References $progressed.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getRemarks()

ilCmiXapiLrsType::getRemarks ( )

Definition at line 438 of file class.ilCmiXapiLrsType.php.

438 : string
439 {
440 return $this->remarks;
441 }

References $remarks.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), and update().

+ Here is the caller graph for this function:

◆ getSatisfied()

ilCmiXapiLrsType::getSatisfied ( )

Definition at line 328 of file class.ilCmiXapiLrsType.php.

328 : bool
329 {
330 return $this->satisfied;
331 }

References $satisfied.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getTerminated()

ilCmiXapiLrsType::getTerminated ( )

Definition at line 338 of file class.ilCmiXapiLrsType.php.

338 : bool
339 {
340 return $this->terminated;
341 }

References $terminated.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getTimestamp()

ilCmiXapiLrsType::getTimestamp ( )

Definition at line 358 of file class.ilCmiXapiLrsType.php.

358 : bool
359 {
360 return $this->timestamp;
361 }

References $timestamp.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updatePrivacySettingsFromLrsType().

+ Here is the caller graph for this function:

◆ getTimeToDelete()

ilCmiXapiLrsType::getTimeToDelete ( )

Definition at line 193 of file class.ilCmiXapiLrsType.php.

193 : ?int
194 {
196 }

References $time_to_delete.

Referenced by update().

+ Here is the caller graph for this function:

◆ getTitle()

ilCmiXapiLrsType::getTitle ( )

Definition at line 150 of file class.ilCmiXapiLrsType.php.

150 : string
151 {
152 return $this->title;
153 }

References $title.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), and update().

+ Here is the caller graph for this function:

◆ getTypeId()

ilCmiXapiLrsType::getTypeId ( )

◆ isAvailable()

ilCmiXapiLrsType::isAvailable ( )

Definition at line 175 of file class.ilCmiXapiLrsType.php.

175 : bool
176 {
177 if ($this->getAvailability() == self::AVAILABILITY_CREATE) {
178 return true;
179 }
180
181 if ($this->getAvailability() == self::AVAILABILITY_EXISTING) {
182 return true;
183 }
184
185 return false;
186 }

References getAvailability().

+ Here is the call graph for this function:

◆ isBypassProxyEnabled()

ilCmiXapiLrsType::isBypassProxyEnabled ( )

Definition at line 443 of file class.ilCmiXapiLrsType.php.

443 : bool
444 {
446 }

References $bypassProxyEnabled.

Referenced by ilObjCmiXapiAdministrationGUI\buildLrsTypeForm(), update(), and ilObjCmiXapi\updateByPassProxyFromLrsType().

+ Here is the caller graph for this function:

◆ read()

ilCmiXapiLrsType::read ( )
protected

Definition at line 464 of file class.ilCmiXapiLrsType.php.

464 : bool
465 {
466 $query = "SELECT * FROM " . self::DB_TABLE_NAME . " WHERE type_id = %s";
467
468 $res = $this->database->queryF($query, ['integer'], [$this->getTypeId()]);
469 $row = $this->database->fetchObject($res);
470 if ($row) {
471 $this->setTypeId((int) $row->type_id);
472 $this->setTitle($row->title);
473 $this->setDescription($row->description);
474 $this->setAvailability((int) $row->availability);
475 $this->setLrsEndpoint($row->lrs_endpoint);
476 $this->setLrsKey($row->lrs_key);
477 $this->setLrsSecret($row->lrs_secret);
478 $this->setPrivacyIdent((int) $row->privacy_ident);
479 $this->setPrivacyName((int) $row->privacy_name);
480 $this->setForcePrivacySettings((bool) $row->force_privacy_settings);
481 $this->setPrivacyCommentDefault($row->privacy_comment_default);
482 $this->setExternalLrs((bool) $row->external_lrs);
483 $this->setTimeToDelete((int) $row->time_to_delete);
484 $this->setRemarks($row->remarks);
485 $this->setBypassProxyEnabled((bool) $row->bypass_proxy);
486 $this->setOnlyMoveon((bool) $row->only_moveon);
487 $this->setAchieved((bool) $row->achieved);
488 $this->setAnswered((bool) $row->answered);
489 $this->setCompleted((bool) $row->completed);
490 $this->setFailed((bool) $row->failed);
491 $this->setInitialized((bool) $row->initialized);
492 $this->setPassed((bool) $row->passed);
493 $this->setProgressed((bool) $row->progressed);
494 $this->setSatisfied((bool) $row->satisfied);
495 $this->setTerminated((bool) $row->c_terminated);
496 $this->setHideData((bool) $row->hide_data);
497 $this->setTimestamp((bool) $row->c_timestamp);
498 $this->setDuration((bool) $row->duration);
499 $this->setNoSubstatements((bool) $row->no_substatements);
500 $this->setDeleteData((int) $row->delete_data);
501 $this->setEnrichData((bool) $row->enrich_data);
502
503 return true;
504 }
505
506 return false;
507 }
setSatisfied(bool $satisfied)
setDeleteData(int $deleteData)
setLrsEndpoint(string $a_endpoint)
setNoSubstatements(bool $no_substatements)
setPrivacyIdent(int $a_option)
setEnrichData(bool $enrichData)
setTimestamp(bool $timestamp)
setCompleted(bool $completed)
setTitle(string $a_title)
setAnswered(bool $answered)
setOnlyMoveon(bool $only_moveon)
setRemarks(string $a_remarks)
setBypassProxyEnabled(bool $bypassProxyEnabled)
setHideData(bool $hide_data)
setLrsSecret(string $a_lrs_secret)
setExternalLrs(bool $a_option)
setDuration(bool $duration)
setInitialized(bool $initialized)
setPrivacyName(int $a_option)
setLrsKey(string $a_lrs_key)
setAchieved(bool $achieved)
setProgressed(bool $progressed)
setTimeToDelete(?int $a_time_to_delete)
setDescription(string $a_description)
setAvailability(int $a_availability)
setTerminated(bool $terminated)
setForcePrivacySettings(bool $force_privacy_settings)
setPrivacyCommentDefault(string $a_option)
$res
Definition: ltiservices.php:69

References $res, ILIAS\Repository\database(), getTypeId(), setAchieved(), setAnswered(), setAvailability(), setBypassProxyEnabled(), setCompleted(), setDeleteData(), setDescription(), setDuration(), setEnrichData(), setExternalLrs(), setFailed(), setForcePrivacySettings(), setHideData(), setInitialized(), setLrsEndpoint(), setLrsKey(), setLrsSecret(), setNoSubstatements(), setOnlyMoveon(), setPassed(), setPrivacyCommentDefault(), setPrivacyIdent(), setPrivacyName(), setProgressed(), setRemarks(), setSatisfied(), setTerminated(), setTimestamp(), setTimeToDelete(), setTitle(), and setTypeId().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilCmiXapiLrsType::save ( )

Definition at line 509 of file class.ilCmiXapiLrsType.php.

509 : void
510 {
511 if ($this->getTypeId() != 0) {
512 $this->update();
513 } else {
514 $this->create();
515 }
516 }

References create(), getTypeId(), and update().

+ Here is the call graph for this function:

◆ setAchieved()

ilCmiXapiLrsType::setAchieved ( bool  $achieved)

Definition at line 263 of file class.ilCmiXapiLrsType.php.

263 : void
264 {
265 $this->achieved = $achieved;
266 }

References $achieved.

Referenced by read().

+ Here is the caller graph for this function:

◆ setAnswered()

ilCmiXapiLrsType::setAnswered ( bool  $answered)

Definition at line 273 of file class.ilCmiXapiLrsType.php.

273 : void
274 {
275 $this->answered = $answered;
276 }

References $answered.

Referenced by read().

+ Here is the caller graph for this function:

◆ setAvailability()

ilCmiXapiLrsType::setAvailability ( int  $a_availability)

Definition at line 165 of file class.ilCmiXapiLrsType.php.

165 : void
166 {
167 $this->availability = $a_availability;
168 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setBypassProxyEnabled()

ilCmiXapiLrsType::setBypassProxyEnabled ( bool  $bypassProxyEnabled)

Definition at line 448 of file class.ilCmiXapiLrsType.php.

448 : void
449 {
450 $this->bypassProxyEnabled = $bypassProxyEnabled;
451 }

References $bypassProxyEnabled.

Referenced by read().

+ Here is the caller graph for this function:

◆ setCompleted()

ilCmiXapiLrsType::setCompleted ( bool  $completed)

Definition at line 283 of file class.ilCmiXapiLrsType.php.

283 : void
284 {
285 $this->completed = $completed;
286 }

References $completed.

Referenced by read().

+ Here is the caller graph for this function:

◆ setDeleteData()

ilCmiXapiLrsType::setDeleteData ( int  $deleteData)

Definition at line 393 of file class.ilCmiXapiLrsType.php.

393 : void
394 {
395 $this->deleteData = $deleteData;
396 }

References $deleteData.

Referenced by read().

+ Here is the caller graph for this function:

◆ setDescription()

ilCmiXapiLrsType::setDescription ( string  $a_description)

Definition at line 155 of file class.ilCmiXapiLrsType.php.

155 : void
156 {
157 $this->description = $a_description;
158 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setDuration()

ilCmiXapiLrsType::setDuration ( bool  $duration)

Definition at line 373 of file class.ilCmiXapiLrsType.php.

373 : void
374 {
375 $this->duration = $duration;
376 }

References $duration.

Referenced by read().

+ Here is the caller graph for this function:

◆ setEnrichData()

ilCmiXapiLrsType::setEnrichData ( bool  $enrichData)

Definition at line 458 of file class.ilCmiXapiLrsType.php.

458 : void
459 {
460 $this->enrichData = $enrichData;
461 }

References $enrichData.

Referenced by read().

+ Here is the caller graph for this function:

◆ setExternalLrs()

ilCmiXapiLrsType::setExternalLrs ( bool  $a_option)

Definition at line 418 of file class.ilCmiXapiLrsType.php.

418 : void
419 {
420 $this->external_lrs = $a_option;
421 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setFailed()

ilCmiXapiLrsType::setFailed ( bool  $failed)

Definition at line 293 of file class.ilCmiXapiLrsType.php.

293 : void
294 {
295 $this->failed = $failed;
296 }

References $failed.

Referenced by read().

+ Here is the caller graph for this function:

◆ setForcePrivacySettings()

ilCmiXapiLrsType::setForcePrivacySettings ( bool  $force_privacy_settings)

Definition at line 403 of file class.ilCmiXapiLrsType.php.

403 : void
404 {
405 $this->force_privacy_settings = $force_privacy_settings;
406 }

References $force_privacy_settings.

Referenced by read().

+ Here is the caller graph for this function:

◆ setHideData()

ilCmiXapiLrsType::setHideData ( bool  $hide_data)

Definition at line 353 of file class.ilCmiXapiLrsType.php.

353 : void
354 {
355 $this->hide_data = $hide_data;
356 }

References $hide_data.

Referenced by read().

+ Here is the caller graph for this function:

◆ setInitialized()

ilCmiXapiLrsType::setInitialized ( bool  $initialized)

Definition at line 303 of file class.ilCmiXapiLrsType.php.

303 : void
304 {
305 $this->initialized = $initialized;
306 }

References $initialized.

Referenced by read().

+ Here is the caller graph for this function:

◆ setLrsEndpoint()

ilCmiXapiLrsType::setLrsEndpoint ( string  $a_endpoint)

Definition at line 198 of file class.ilCmiXapiLrsType.php.

198 : void
199 {
200 $this->lrs_endpoint = $a_endpoint;
201 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setLrsKey()

ilCmiXapiLrsType::setLrsKey ( string  $a_lrs_key)

Definition at line 208 of file class.ilCmiXapiLrsType.php.

208 : void
209 {
210 $this->lrs_key = $a_lrs_key;
211 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setLrsSecret()

ilCmiXapiLrsType::setLrsSecret ( string  $a_lrs_secret)

Definition at line 218 of file class.ilCmiXapiLrsType.php.

218 : void
219 {
220 $this->lrs_secret = $a_lrs_secret;
221 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setNoSubstatements()

ilCmiXapiLrsType::setNoSubstatements ( bool  $no_substatements)

Definition at line 383 of file class.ilCmiXapiLrsType.php.

383 : void
384 {
385 $this->no_substatements = $no_substatements;
386 }

References $no_substatements.

Referenced by read().

+ Here is the caller graph for this function:

◆ setOnlyMoveon()

ilCmiXapiLrsType::setOnlyMoveon ( bool  $only_moveon)

Definition at line 253 of file class.ilCmiXapiLrsType.php.

253 : void
254 {
255 $this->only_moveon = $only_moveon;
256 }

References $only_moveon.

Referenced by read().

+ Here is the caller graph for this function:

◆ setPassed()

ilCmiXapiLrsType::setPassed ( bool  $passed)

Definition at line 313 of file class.ilCmiXapiLrsType.php.

313 : void
314 {
315 $this->passed = $passed;
316 }

References $passed.

Referenced by read().

+ Here is the caller graph for this function:

◆ setPrivacyCommentDefault()

ilCmiXapiLrsType::setPrivacyCommentDefault ( string  $a_option)

Definition at line 408 of file class.ilCmiXapiLrsType.php.

408 : void
409 {
410 $this->privacy_comment_default = $a_option;
411 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setPrivacyIdent()

ilCmiXapiLrsType::setPrivacyIdent ( int  $a_option)

Definition at line 228 of file class.ilCmiXapiLrsType.php.

228 : void
229 {
230 $this->privacy_ident = $a_option;
231 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setPrivacyName()

ilCmiXapiLrsType::setPrivacyName ( int  $a_option)

Definition at line 238 of file class.ilCmiXapiLrsType.php.

238 : void
239 {
240 $this->privacy_name = $a_option;
241 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setProgressed()

ilCmiXapiLrsType::setProgressed ( bool  $progressed)

Definition at line 323 of file class.ilCmiXapiLrsType.php.

323 : void
324 {
325 $this->progressed = $progressed;
326 }

References $progressed.

Referenced by read().

+ Here is the caller graph for this function:

◆ setRemarks()

ilCmiXapiLrsType::setRemarks ( string  $a_remarks)

Definition at line 433 of file class.ilCmiXapiLrsType.php.

433 : void
434 {
435 $this->remarks = $a_remarks;
436 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setSatisfied()

ilCmiXapiLrsType::setSatisfied ( bool  $satisfied)

Definition at line 333 of file class.ilCmiXapiLrsType.php.

333 : void
334 {
335 $this->satisfied = $satisfied;
336 }

References $satisfied.

Referenced by read().

+ Here is the caller graph for this function:

◆ setTerminated()

ilCmiXapiLrsType::setTerminated ( bool  $terminated)

Definition at line 343 of file class.ilCmiXapiLrsType.php.

343 : void
344 {
345 $this->terminated = $terminated;
346 }

References $terminated.

Referenced by read().

+ Here is the caller graph for this function:

◆ setTimestamp()

ilCmiXapiLrsType::setTimestamp ( bool  $timestamp)

Definition at line 363 of file class.ilCmiXapiLrsType.php.

363 : void
364 {
365 $this->timestamp = $timestamp;
366 }

References $timestamp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setTimeToDelete()

ilCmiXapiLrsType::setTimeToDelete ( ?int  $a_time_to_delete)

Definition at line 188 of file class.ilCmiXapiLrsType.php.

188 : void
189 {
190 $this->time_to_delete = $a_time_to_delete;
191 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setTitle()

ilCmiXapiLrsType::setTitle ( string  $a_title)

Definition at line 145 of file class.ilCmiXapiLrsType.php.

145 : void
146 {
147 $this->title = $a_title;
148 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setTypeId()

ilCmiXapiLrsType::setTypeId ( int  $a_type_id)

Definition at line 135 of file class.ilCmiXapiLrsType.php.

135 : void
136 {
137 $this->type_id = $a_type_id;
138 }

Referenced by create(), and read().

+ Here is the caller graph for this function:

◆ update()

ilCmiXapiLrsType::update ( )
protected

Definition at line 525 of file class.ilCmiXapiLrsType.php.

525 : bool
526 {
527 $this->database->replace(
528 self::DB_TABLE_NAME,
529 array(
530 'type_id' => array('integer', $this->getTypeId())
531 ),
532 array(
533 'title' => array('text', $this->getTitle()),
534 'description' => array('clob', $this->getDescription()),
535 'availability' => array('integer', $this->getAvailability()),
536 'remarks' => array('clob', $this->getRemarks()),
537 'time_to_delete' => array('integer', $this->getTimeToDelete()),
538 'lrs_endpoint' => array('text', $this->getLrsEndpoint()),
539 'lrs_key' => array('text', $this->getLrsKey()),
540 'lrs_secret' => array('text', $this->getLrsSecret()),
541 'privacy_ident' => array('integer', $this->getPrivacyIdent()),
542 'privacy_name' => array('integer', $this->getPrivacyName()),
543 'force_privacy_settings' => array('integer', (int) $this->getForcePrivacySettings()),
544 'privacy_comment_default' => array('text', $this->getPrivacyCommentDefault()),
545 'external_lrs' => array('integer', $this->getExternalLrs()),
546 'bypass_proxy' => array('integer', (int) $this->isBypassProxyEnabled()),
547 'only_moveon' => array('integer', (int) $this->getOnlyMoveon()),
548 'achieved' => array('integer', (int) $this->getAchieved()),
549 'answered' => array('integer', (int) $this->getAnswered()),
550 'completed' => array('integer', (int) $this->getCompleted()),
551 'failed' => array('integer', (int) $this->getFailed()),
552 'initialized' => array('integer', (int) $this->getInitialized()),
553 'passed' => array('integer', (int) $this->getPassed()),
554 'progressed' => array('integer', (int) $this->getProgressed()),
555 'satisfied' => array('integer', (int) $this->getSatisfied()),
556 'c_terminated' => array('integer', (int) $this->getTerminated()),
557 'hide_data' => array('integer', (int) $this->getHideData()),
558 'c_timestamp' => array('integer', (int) $this->getTimestamp()),
559 'duration' => array('integer', (int) $this->getDuration()),
560 'no_substatements' => array('integer', (int) $this->getNoSubstatements()),
561 'delete_data' => array('integer', $this->getDeleteData()),
562 'enrich_data' => array('integer', (int) $this->getEnrichData())
563 )
564 );
565
566 return true;
567 }

References ILIAS\Repository\database(), getAchieved(), getAnswered(), getAvailability(), getCompleted(), getDeleteData(), getDescription(), getDuration(), getEnrichData(), getExternalLrs(), getFailed(), getForcePrivacySettings(), getHideData(), getInitialized(), getLrsEndpoint(), getLrsKey(), getLrsSecret(), getNoSubstatements(), getOnlyMoveon(), getPassed(), getPrivacyCommentDefault(), getPrivacyIdent(), getPrivacyName(), getProgressed(), getRemarks(), getSatisfied(), getTerminated(), getTimestamp(), getTimeToDelete(), getTitle(), getTypeId(), and isBypassProxyEnabled().

Referenced by create(), and save().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $achieved

bool ilCmiXapiLrsType::$achieved = true
protected

Definition at line 90 of file class.ilCmiXapiLrsType.php.

Referenced by getAchieved(), and setAchieved().

◆ $answered

bool ilCmiXapiLrsType::$answered = true
protected

Definition at line 92 of file class.ilCmiXapiLrsType.php.

Referenced by getAnswered(), and setAnswered().

◆ $availability

int ilCmiXapiLrsType::$availability = self::AVAILABILITY_CREATE
protected

Definition at line 71 of file class.ilCmiXapiLrsType.php.

Referenced by getAvailability().

◆ $bypassProxyEnabled

bool ilCmiXapiLrsType::$bypassProxyEnabled = false
protected

Definition at line 86 of file class.ilCmiXapiLrsType.php.

Referenced by isBypassProxyEnabled(), and setBypassProxyEnabled().

◆ $completed

bool ilCmiXapiLrsType::$completed = true
protected

Definition at line 94 of file class.ilCmiXapiLrsType.php.

Referenced by getCompleted(), and setCompleted().

◆ $database

ilDBInterface ilCmiXapiLrsType::$database
private

Definition at line 120 of file class.ilCmiXapiLrsType.php.

◆ $deleteData

int ilCmiXapiLrsType::$deleteData = 0
protected

Definition at line 116 of file class.ilCmiXapiLrsType.php.

Referenced by getDeleteData(), and setDeleteData().

◆ $description

string ilCmiXapiLrsType::$description = ""
protected

Definition at line 70 of file class.ilCmiXapiLrsType.php.

Referenced by getDescription().

◆ $duration

bool ilCmiXapiLrsType::$duration = true
protected

Definition at line 112 of file class.ilCmiXapiLrsType.php.

Referenced by getDuration(), and setDuration().

◆ $enrichData

bool ilCmiXapiLrsType::$enrichData = false
protected

Definition at line 118 of file class.ilCmiXapiLrsType.php.

Referenced by getEnrichData(), and setEnrichData().

◆ $external_lrs

bool ilCmiXapiLrsType::$external_lrs = false
protected

Definition at line 79 of file class.ilCmiXapiLrsType.php.

Referenced by getExternalLrs().

◆ $failed

bool ilCmiXapiLrsType::$failed = true
protected

Definition at line 96 of file class.ilCmiXapiLrsType.php.

Referenced by getFailed(), and setFailed().

◆ $force_privacy_settings

bool ilCmiXapiLrsType::$force_privacy_settings = false
protected

Definition at line 77 of file class.ilCmiXapiLrsType.php.

Referenced by getForcePrivacySettings(), and setForcePrivacySettings().

◆ $hide_data

bool ilCmiXapiLrsType::$hide_data = false
protected

Definition at line 108 of file class.ilCmiXapiLrsType.php.

Referenced by getHideData(), and setHideData().

◆ $initialized

bool ilCmiXapiLrsType::$initialized = true
protected

Definition at line 98 of file class.ilCmiXapiLrsType.php.

Referenced by getInitialized(), and setInitialized().

◆ $launch_type

string ilCmiXapiLrsType::$launch_type = self::LAUNCH_TYPE_LINK
protected

Definition at line 82 of file class.ilCmiXapiLrsType.php.

Referenced by getLaunchType().

◆ $lrs_endpoint

string ilCmiXapiLrsType::$lrs_endpoint = ""
protected

Definition at line 72 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsEndpoint().

◆ $lrs_key

string ilCmiXapiLrsType::$lrs_key = ""
protected

Definition at line 73 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsKey().

◆ $lrs_secret

string ilCmiXapiLrsType::$lrs_secret = ""
protected

Definition at line 74 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsSecret().

◆ $no_substatements

bool ilCmiXapiLrsType::$no_substatements = false
protected

Definition at line 114 of file class.ilCmiXapiLrsType.php.

Referenced by getNoSubstatements(), and setNoSubstatements().

◆ $only_moveon

bool ilCmiXapiLrsType::$only_moveon = false
protected

Definition at line 88 of file class.ilCmiXapiLrsType.php.

Referenced by getOnlyMoveon(), and setOnlyMoveon().

◆ $passed

bool ilCmiXapiLrsType::$passed = true
protected

Definition at line 100 of file class.ilCmiXapiLrsType.php.

Referenced by getPassed(), and setPassed().

◆ $privacy_comment_default

string ilCmiXapiLrsType::$privacy_comment_default = ""
protected

Definition at line 78 of file class.ilCmiXapiLrsType.php.

Referenced by getPrivacyCommentDefault().

◆ $privacy_ident

int ilCmiXapiLrsType::$privacy_ident = 3
protected

Definition at line 75 of file class.ilCmiXapiLrsType.php.

Referenced by getPrivacyIdent().

◆ $privacy_name

int ilCmiXapiLrsType::$privacy_name = 0
protected

Definition at line 76 of file class.ilCmiXapiLrsType.php.

Referenced by getPrivacyName().

◆ $progressed

bool ilCmiXapiLrsType::$progressed = true
protected

Definition at line 102 of file class.ilCmiXapiLrsType.php.

Referenced by getProgressed(), and setProgressed().

◆ $remarks

string ilCmiXapiLrsType::$remarks = ""
protected

Definition at line 84 of file class.ilCmiXapiLrsType.php.

Referenced by getRemarks().

◆ $satisfied

bool ilCmiXapiLrsType::$satisfied = true
protected

Definition at line 104 of file class.ilCmiXapiLrsType.php.

Referenced by getSatisfied(), and setSatisfied().

◆ $terminated

bool ilCmiXapiLrsType::$terminated = true
protected

Definition at line 106 of file class.ilCmiXapiLrsType.php.

Referenced by getTerminated(), and setTerminated().

◆ $time_to_delete

int ilCmiXapiLrsType::$time_to_delete = null
protected

Definition at line 81 of file class.ilCmiXapiLrsType.php.

Referenced by getTimeToDelete().

◆ $timestamp

bool ilCmiXapiLrsType::$timestamp = false
protected

Definition at line 110 of file class.ilCmiXapiLrsType.php.

Referenced by getTimestamp(), and setTimestamp().

◆ $title

string ilCmiXapiLrsType::$title = ""
protected

Definition at line 69 of file class.ilCmiXapiLrsType.php.

Referenced by getTitle().

◆ $type_id

int ilCmiXapiLrsType::$type_id = 0
protected

Definition at line 67 of file class.ilCmiXapiLrsType.php.

Referenced by getTypeId().

◆ AVAILABILITY_CREATE

const ilCmiXapiLrsType::AVAILABILITY_CREATE = 2

◆ AVAILABILITY_EXISTING

const ilCmiXapiLrsType::AVAILABILITY_EXISTING = 1

◆ AVAILABILITY_NONE

const ilCmiXapiLrsType::AVAILABILITY_NONE = 0

◆ DB_TABLE_NAME

const ilCmiXapiLrsType::DB_TABLE_NAME = 'cmix_lrs_types'

Definition at line 32 of file class.ilCmiXapiLrsType.php.

Referenced by getDbTableName().

◆ ENDPOINT_AGGREGATE_SUFFIX

const ilCmiXapiLrsType::ENDPOINT_AGGREGATE_SUFFIX = 'statements/aggregate'

Definition at line 60 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsEndpointStatementsAggregationLink().

◆ ENDPOINT_BATCH_SUFFIX

const ilCmiXapiLrsType::ENDPOINT_BATCH_SUFFIX = 'connection/batchdelete'

Definition at line 63 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsEndpointBatchLink().

◆ ENDPOINT_DELETE_SUFFIX

const ilCmiXapiLrsType::ENDPOINT_DELETE_SUFFIX = 'v2/batchdelete/initialise'

Definition at line 62 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsEndpointDeleteLink().

◆ ENDPOINT_STATE_SUFFIX

const ilCmiXapiLrsType::ENDPOINT_STATE_SUFFIX = 'state'

Definition at line 64 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsEndpointStateLink().

◆ ENDPOINT_STATEMENTS_SUFFIX

const ilCmiXapiLrsType::ENDPOINT_STATEMENTS_SUFFIX = 'statements'

Definition at line 59 of file class.ilCmiXapiLrsType.php.

Referenced by getLrsEndpointStatementsLink().

◆ LAUNCH_TYPE_EMBED

const ilCmiXapiLrsType::LAUNCH_TYPE_EMBED = "embed"

Definition at line 44 of file class.ilCmiXapiLrsType.php.

◆ LAUNCH_TYPE_LINK

const ilCmiXapiLrsType::LAUNCH_TYPE_LINK = "link"

Definition at line 43 of file class.ilCmiXapiLrsType.php.

◆ LAUNCH_TYPE_PAGE

const ilCmiXapiLrsType::LAUNCH_TYPE_PAGE = "page"

Definition at line 42 of file class.ilCmiXapiLrsType.php.

◆ PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT

const ilCmiXapiLrsType::PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT = 1

◆ PRIVACY_IDENT_IL_UUID_LOGIN

const ilCmiXapiLrsType::PRIVACY_IDENT_IL_UUID_LOGIN = 2

◆ PRIVACY_IDENT_IL_UUID_RANDOM

◆ PRIVACY_IDENT_IL_UUID_SHA256

◆ PRIVACY_IDENT_IL_UUID_SHA256URL

◆ PRIVACY_IDENT_IL_UUID_USER_ID

const ilCmiXapiLrsType::PRIVACY_IDENT_IL_UUID_USER_ID = 0

◆ PRIVACY_IDENT_REAL_EMAIL

const ilCmiXapiLrsType::PRIVACY_IDENT_REAL_EMAIL = 3

◆ PRIVACY_NAME_FIRSTNAME

const ilCmiXapiLrsType::PRIVACY_NAME_FIRSTNAME = 1

◆ PRIVACY_NAME_FULLNAME

const ilCmiXapiLrsType::PRIVACY_NAME_FULLNAME = 3

◆ PRIVACY_NAME_LASTNAME

const ilCmiXapiLrsType::PRIVACY_NAME_LASTNAME = 2

◆ PRIVACY_NAME_NONE

const ilCmiXapiLrsType::PRIVACY_NAME_NONE = 0

The documentation for this class was generated from the following file: