|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilObjLTIConsumer:
Collaboration diagram for ilObjLTIConsumer:Public Member Functions | |
| __construct (int $a_id=0, bool $a_reference=true) | |
| ilObjLTIConsumer constructor. More... | |
| isActivationLimited () | |
| setActivationLimited (bool $activationLimited) | |
| getActivationStartingTime () | |
| setActivationStartingTime (?int $activationStartingTime=null) | |
| getActivationEndingTime () | |
| setActivationEndingTime (?int $activationEndingTime=null) | |
| getActivationVisibility () | |
| setActivationVisibility (bool $activationVisibility) | |
| getMasteryScore () | |
| setMasteryScore (float $mastery_score) | |
| getMasteryScorePercent () | |
| setMasteryScorePercent (float $mastery_score_percent) | |
| getProviderId () | |
| setProviderId (int $providerId) | |
| initProvider () | |
| getProvider () | |
| setProvider (ilLTIConsumeProvider $provider) | |
| isLaunchMethodOwnWin () | |
| isLaunchMethodEmbedded () | |
| getLaunchMethod () | |
| setLaunchMethod (string $launchMethod) | |
| getCustomLaunchKey () | |
| setCustomLaunchKey (string $customLaunchKey) | |
| getCustomLaunchSecret () | |
| setCustomLaunchSecret (string $customLaunchSecret) | |
| getCustomParams () | |
| setCustomParams (string $customParams) | |
| getLaunchKey () | |
| getLaunchSecret () | |
| getUseXapi () | |
| setUseXapi (bool $use_xapi) | |
| getCustomActivityId () | |
| setCustomActivityId (string $custom_activity_id) | |
| getActivityId () | |
| isStatementsReportEnabled () | |
| setStatementsReportEnabled (bool $statementsReportEnabled) | |
| getCustomParamsArray () | |
| load () | |
| save () | |
| setHighscoreEnabled (bool $a_enabled) | |
| HIGHSCORE. More... | |
| getHighscoreEnabled () | |
| Gets the setting which determines if the highscore feature is enabled. More... | |
| setHighscoreAchievedTS (bool $a_achieved_ts) | |
| Sets if the date and time of the scores achievement should be displayed. More... | |
| getHighscoreAchievedTS () | |
| Returns if date and time of the scores achievement should be displayed. More... | |
| setHighscorePercentage (bool $a_percentage) | |
| Sets if the percentages of the scores pass should be shown. More... | |
| getHighscorePercentage () | |
| Gets if the percentage column should be shown. More... | |
| setHighscoreWTime (bool $a_wtime) | |
| Sets if the workingtime of the scores should be shown. More... | |
| getHighscoreWTime () | |
| Gets if the column with the workingtime should be shown. More... | |
| setHighscoreOwnTable (bool $a_own_table) | |
| Sets if the table with the own ranking should be shown. More... | |
| getHighscoreOwnTable () | |
| Gets if the own rankings table should be shown. More... | |
| setHighscoreTopTable (bool $a_top_table) | |
| Sets if the top-rankings table should be shown. More... | |
| getHighscoreTopTable () | |
| Gets, if the top-rankings table should be shown. More... | |
| setHighscoreTopNum (int $a_top_num) | |
| Sets the number of entries which are to be shown in the top-rankings table. More... | |
| getHighscoreTopNum (int $a_retval=10) | |
| Gets the number of entries which are to be shown in the top-rankings table. More... | |
| getHighscoreMode () | |
| setHighscoreMode (int $mode) | |
| buildLaunchParameters (ilCmiXapiUser $cmixUser, string $token, string $contextType, string $contextId, string $contextTitle, ?string $returnUrl='') | |
| buildLaunchParametersLTI13 (ilCmiXapiUser $cmixUser, string $endpoint, string $clientId, int $deploymentId, string $nonce, string $contextType, string $contextId, string $contextTitle, ?string $returnUrl='') | |
| isMixedContentType () | |
Public Member Functions inherited from ilObject2 | |
| __construct (int $a_id=0, bool $a_reference=true) | |
| Constructor. More... | |
| read () | |
| create (bool $a_clone_mode=false) | |
| update () | |
| delete () | |
| cloneMetaData (ilObject $target_obj) | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | getProviderCustomParamsArray (ilLTIConsumeProvider $provider) |
| static | buildContentSelectionParameters (ilLTIConsumeProvider $provider, int $refId, string $returnUrl, string $nonce) |
| static | LTISignJWT (array $parms, string $endpoint, string $oAuthConsumerKey, $typeId=0, string $nonce='') |
| static | getPrivateKey () |
| static | verifyPrivateKey () |
| static | getPublicKey () |
| static | getJwks () |
| static | getIliasHttpPath () |
| static | getPlattformId () |
| static | getAuthenticationRequestUrl () |
| static | getAccessTokenUrl () |
| static | getPublicKeysetUrl () |
| static | getRegistrationUrl () |
| static | getRegistrationStartUrl () |
| static | getRegistrationEndUrl () |
| static | getOpenidConfigUrl () |
| static | getOpenidConfig () |
| static | registerClient (array $data, object $tokenObj) |
| static | getNewClientId () |
| static | sendResponseError (int $code, string $message, $log=true) |
| static | sendResponseJson (array $obj) |
| static | getInstance (int $a_id=0, bool $a_reference=true) |
| static | getRawData () |
| static | getTokenObject (string $token) |
| static | verifyToken () |
| static | getLogger () |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
Data Fields | |
| const | DB_TABLE_NAME = 'lti_consumer_settings' |
| const | LAUNCH_METHOD_OWN_WIN = 'ownWin' |
| const | LAUNCH_METHOD_NEW_WIN = 'newWin' |
| const | LAUNCH_METHOD_EMBEDDED = 'embedded' |
| const | HIGHSCORE_SHOW_ALL_TABLES = 1 |
| const | HIGHSCORE_SHOW_TOP_TABLE = 2 |
| const | HIGHSCORE_SHOW_OWN_TABLE = 3 |
| const | LTI_JWT_CLAIM_PREFIX = 'https://purl.imsglobal.org/spec/lti' |
| const | LTI_1_3_KID = 'lti_1_3_kid' |
| const | LTI_1_3_PRIVATE_KEY = 'lti_1_3_privatekey' |
| const | ERROR_OPEN_SSL_CONF = 'error openssl config invalid' |
| const | OPENSSL_KEYTYPE_RSA = '' |
| const | REG_TOKEN_OP_NEW_REG = 'reg' |
| const | REG_TOKEN_OP_UPDATE_REG = 'reg-update' |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
Protected Member Functions | |
| initType () | |
| doRead () | |
| doUpdate () | |
| loadRepositoryActivationSettings () | |
| saveRepositoryActivationSettings () | |
| dbTableName () | |
Protected Member Functions inherited from ilObject2 | |
| initType () | |
| doRead () | |
| doCreate (bool $clone_mode=false) | |
| beforeCreate () | |
| If overwritten this method should return true, there is currently no "abort" handling for cases where "false" is returned. More... | |
| doUpdate () | |
| beforeUpdate () | |
| doDelete () | |
| beforeDelete () | |
| doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=null) | |
| beforeCloneObject () | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Definition at line 34 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::__construct | ( | int | $a_id = 0, |
| bool | $a_reference = true |
||
| ) |
ilObjLTIConsumer constructor.
Definition at line 103 of file class.ilObjLTIConsumer.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct().
Here is the call graph for this function:
|
static |
| ilWACException |
Definition at line 912 of file class.ilObjLTIConsumer.php.
References $clientId, $context, $DIC, ILIAS\LTI\ToolProvider\$key, CLIENT_ID, ilLTIConsumeProvider\getClientId(), ilLTIConsumeProvider\getId(), ilCmiXapiUser\getIdent(), ilLTIConsumeProvider\getIncludeUserPicture(), ilLTIConsumeProvider\getLaunchMethod(), ilLTIConsumeProvider\getPrivacyIdent(), ilLTIConsumeProvider\getPrivacyName(), ILIAS_VERSION, ilLTIConsumeProvider\PRIVACY_NAME_FIRSTNAME, ilLTIConsumeProvider\PRIVACY_NAME_FULLNAME, ilLTIConsumeProvider\PRIVACY_NAME_LASTNAME, and ROOT_FOLDER_ID.
Referenced by ilObjLTIConsumerGUI\contentSelectionRequest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIConsumer::buildLaunchParameters | ( | ilCmiXapiUser | $cmixUser, |
| string | $token, | ||
| string | $contextType, | ||
| string | $contextId, | ||
| string | $contextTitle, | ||
| ?string | $returnUrl = '' |
||
| ) |
| ilWACException |
Definition at line 660 of file class.ilObjLTIConsumer.php.
References $DIC, $token, CLIENT_ID, ilLTIConsumerResult\getByKeys(), getCustomParamsArray(), ilObject\getDescription(), ilObject\getId(), ilCmiXapiUser\getIdentAsId(), ilCmiXapiUser\getIliasUuid(), getLaunchKey(), getLaunchMethod(), getLaunchSecret(), getProvider(), ilObject\getRefId(), ilObject\getTitle(), ilCmiXapiUser\getUsrIdent(), ILIAS_VERSION, ILIAS\Repository\lng(), ilObjCmiXapi\PRIVACY_IDENT_IL_UUID_RANDOM, ilLTIConsumeProvider\PRIVACY_NAME_FIRSTNAME, ilLTIConsumeProvider\PRIVACY_NAME_FULLNAME, ilLTIConsumeProvider\PRIVACY_NAME_LASTNAME, ROOT_FOLDER_ID, ilLTIConsumerLaunch\signOAuth(), and SYSTEM_ROLE_ID.
Here is the call graph for this function:| ilObjLTIConsumer::buildLaunchParametersLTI13 | ( | ilCmiXapiUser | $cmixUser, |
| string | $endpoint, | ||
| string | $clientId, | ||
| int | $deploymentId, | ||
| string | $nonce, | ||
| string | $contextType, | ||
| string | $contextId, | ||
| string | $contextTitle, | ||
| ?string | $returnUrl = '' |
||
| ) |
| ilWACException |
Definition at line 783 of file class.ilObjLTIConsumer.php.
References $DIC, ILIAS\LTI\ToolProvider\$key, CLIENT_ID, ilLTIConsumerResult\getByKeys(), getCustomParamsArray(), ilObject\getDescription(), ilObject\getId(), ilCmiXapiUser\getIdent(), getLaunchMethod(), getProvider(), ilObject\getRefId(), ilObject\getTitle(), ilCmiXapiUser\getUsrIdent(), ILIAS_VERSION, ILIAS\Repository\lng(), ilLTIConsumeProvider\PRIVACY_NAME_FIRSTNAME, ilLTIConsumeProvider\PRIVACY_NAME_FULLNAME, ilLTIConsumeProvider\PRIVACY_NAME_LASTNAME, ROOT_FOLDER_ID, and SYSTEM_ROLE_ID.
Here is the call graph for this function:
|
protected |
Definition at line 469 of file class.ilObjLTIConsumer.php.
Referenced by save().
Here is the caller graph for this function:
|
protected |
Definition at line 351 of file class.ilObjLTIConsumer.php.
References load().
Here is the call graph for this function:
|
protected |
Definition at line 392 of file class.ilObjLTIConsumer.php.
References save().
Here is the call graph for this function:
|
static |
Definition at line 1202 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
Here is the caller graph for this function:| ilObjLTIConsumer::getActivationEndingTime | ( | ) |
Definition at line 133 of file class.ilObjLTIConsumer.php.
References $activationEndingTime.
Referenced by saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::getActivationStartingTime | ( | ) |
Definition at line 123 of file class.ilObjLTIConsumer.php.
References $activationStartingTime.
Referenced by saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::getActivationVisibility | ( | ) |
Definition at line 143 of file class.ilObjLTIConsumer.php.
References $activationVisibility.
Referenced by saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::getActivityId | ( | ) |
Definition at line 286 of file class.ilObjLTIConsumer.php.
References $custom_activity_id, and getProvider().
Here is the call graph for this function:
|
static |
Definition at line 1197 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomActivityId | ( | ) |
Definition at line 276 of file class.ilObjLTIConsumer.php.
References $custom_activity_id.
Referenced by save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomLaunchKey | ( | ) |
Definition at line 218 of file class.ilObjLTIConsumer.php.
References $customLaunchKey.
Referenced by getLaunchKey(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomLaunchSecret | ( | ) |
Definition at line 228 of file class.ilObjLTIConsumer.php.
References $customLaunchSecret.
Referenced by getLaunchSecret(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomParams | ( | ) |
Definition at line 238 of file class.ilObjLTIConsumer.php.
References $customParams.
Referenced by getCustomParamsArray(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomParamsArray | ( | ) |
Definition at line 308 of file class.ilObjLTIConsumer.php.
References $param, $params, and getCustomParams().
Referenced by buildLaunchParameters(), and buildLaunchParametersLTI13().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreAchievedTS | ( | ) |
Returns if date and time of the scores achievement should be displayed.
Definition at line 510 of file class.ilObjLTIConsumer.php.
References $_highscore_achieved_ts.
Referenced by save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreEnabled | ( | ) |
Gets the setting which determines if the highscore feature is enabled.
Definition at line 491 of file class.ilObjLTIConsumer.php.
References $_highscore_enabled.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreMode | ( | ) |
Definition at line 618 of file class.ilObjLTIConsumer.php.
References getHighscoreOwnTable(), and getHighscoreTopTable().
Here is the call graph for this function:| ilObjLTIConsumer::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 566 of file class.ilObjLTIConsumer.php.
References $_highscore_own_table.
Referenced by getHighscoreMode(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 528 of file class.ilObjLTIConsumer.php.
References $_highscore_percentage.
Referenced by save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreTopNum | ( | int | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Default: 10 entries
| integer | $a_retval | Optional return value if nothing is set, defaults to 10. |
Definition at line 608 of file class.ilObjLTIConsumer.php.
References $_highscore_top_num.
Referenced by save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 584 of file class.ilObjLTIConsumer.php.
References $_highscore_top_table.
Referenced by getHighscoreMode(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 546 of file class.ilObjLTIConsumer.php.
References $_highscore_wtime.
Referenced by save().
Here is the caller graph for this function:
|
static |
Definition at line 1160 of file class.ilObjLTIConsumer.php.
References $_SERVER, $DIC, Vendor\Package\$f, $path, and ilContext\modifyHttpPath().
Referenced by ilObjLTIConsumerGUI\contentSelectionRequest(), ilLTIConsumerContentGUI\getEmbeddedAutoStartFormular(), ilLTIConsumerContentGUI\getLaunchParametersLTI13(), ilLTIConsumerContentGUI\getStartButtonTxt11(), ilLTIConsumerContentGUI\getStartButtonTxt13(), and ilObjLTIConsumerGUI\saveContentSelection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1344 of file class.ilObjLTIConsumer.php.
Referenced by ilCmiXapiStatementsReport\__construct(), ilCmiXapiAbstractReportLinkBuilder\getObj(), and ilCmiXapiHighscoreReport\initTableData().
Here is the caller graph for this function:
|
static |
Definition at line 1140 of file class.ilObjLTIConsumer.php.
References ILIAS\LTI\ToolProvider\$details, and $res.
| ilObjLTIConsumer::getLaunchKey | ( | ) |
Definition at line 248 of file class.ilObjLTIConsumer.php.
References getCustomLaunchKey(), and getProvider().
Referenced by buildLaunchParameters().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIConsumer::getLaunchMethod | ( | ) |
Definition at line 208 of file class.ilObjLTIConsumer.php.
References $launchMethod.
Referenced by buildLaunchParameters(), buildLaunchParametersLTI13(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getLaunchSecret | ( | ) |
Definition at line 257 of file class.ilObjLTIConsumer.php.
References getCustomLaunchSecret(), and getProvider().
Referenced by buildLaunchParameters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1388 of file class.ilObjLTIConsumer.php.
References ilLoggerFactory\getLogger().
Referenced by ilLTIConsumerGradeServiceScores\checkScore(), ilLTIConsumerGradeServiceScores\execute(), invalidRequest(), ilLTIConsumerServiceResponse\send(), sendAccessToken(), serverError(), ilLTIConsumerContentGUI\validateLTI13InitalLogin(), and validateServiceToken().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIConsumer::getMasteryScore | ( | ) |
Definition at line 153 of file class.ilObjLTIConsumer.php.
References $mastery_score.
Referenced by save().
Here is the caller graph for this function:| ilObjLTIConsumer::getMasteryScorePercent | ( | ) |
Definition at line 163 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerPlaceholderValues\getMasteryScore().
Here is the caller graph for this function:
|
static |
Definition at line 1306 of file class.ilObjLTIConsumer.php.
References ILIAS\LTI\ToolProvider\Util\getRandomString().
Referenced by ilLTIConsumeProvider\getClientId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1227 of file class.ilObjLTIConsumer.php.
|
static |
Definition at line 1192 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
Here is the caller graph for this function:
|
static |
Definition at line 1089 of file class.ilObjLTIConsumer.php.
References $ilSetting, and ILIAS\LTI\ToolProvider\$kid.
Referenced by sendAccessToken().
Here is the caller graph for this function:| ilObjLTIConsumer::getProvider | ( | ) |
Definition at line 188 of file class.ilObjLTIConsumer.php.
References $provider.
Referenced by buildLaunchParameters(), buildLaunchParametersLTI13(), getActivityId(), getLaunchKey(), getLaunchSecret(), and ilLTIConsumerSettingsFormGUI\initObject().
Here is the caller graph for this function:
|
static |
Definition at line 331 of file class.ilObjLTIConsumer.php.
References $param, $params, and ilLTIConsumeProvider\getCustomParams().
Here is the call graph for this function:| ilObjLTIConsumer::getProviderId | ( | ) |
Definition at line 173 of file class.ilObjLTIConsumer.php.
References $providerId.
Referenced by initProvider(), and save().
Here is the caller graph for this function:
|
static |
Definition at line 1128 of file class.ilObjLTIConsumer.php.
References ILIAS\LTI\ToolProvider\$details, $privateKey, and $res.
|
static |
Definition at line 1207 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
Here is the caller graph for this function:
|
static |
Definition at line 1354 of file class.ilObjLTIConsumer.php.
|
static |
Definition at line 1222 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\getDynRegRequest().
Here is the caller graph for this function:
|
static |
Definition at line 1217 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\getDynRegRequest().
Here is the caller graph for this function:
|
static |
Definition at line 1212 of file class.ilObjLTIConsumer.php.
|
static |
| ilObjLTIConsumer::getUseXapi | ( | ) |
Definition at line 266 of file class.ilObjLTIConsumer.php.
References $use_xapi.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::initProvider | ( | ) |
Definition at line 183 of file class.ilObjLTIConsumer.php.
References getProviderId().
Here is the call graph for this function:
|
protected |
Definition at line 108 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isActivationLimited | ( | ) |
Definition at line 113 of file class.ilObjLTIConsumer.php.
References $activationLimited.
Referenced by saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::isLaunchMethodEmbedded | ( | ) |
Definition at line 203 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isLaunchMethodOwnWin | ( | ) |
Definition at line 198 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isMixedContentType | ( | ) |
Definition at line 1349 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isStatementsReportEnabled | ( | ) |
Definition at line 295 of file class.ilObjLTIConsumer.php.
References $statementsReportEnabled.
Referenced by save().
Here is the caller graph for this function:| ilObjLTIConsumer::load | ( | ) |
Definition at line 356 of file class.ilObjLTIConsumer.php.
References $DIC, $res, ilObject\getId(), loadRepositoryActivationSettings(), setCustomActivityId(), setCustomLaunchKey(), setCustomLaunchSecret(), setCustomParams(), setHighscoreAchievedTS(), setHighscoreEnabled(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setLaunchMethod(), setMasteryScore(), setProvider(), setProviderId(), setStatementsReportEnabled(), and setUseXapi().
Referenced by doRead().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 425 of file class.ilObjLTIConsumer.php.
References ilObjectActivation\getItem(), ILIAS\Repository\int(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1006 of file class.ilObjLTIConsumer.php.
References ILIAS\LTI\ToolProvider\$jwt, ILIAS\LTI\ToolProvider\$key, $privateKey, $typeId, Firebase\JWT\JWT\encode(), ILIAS\LTI\ToolProvider\Util\JWT_CLAIM_MAPPING, and ILIAS\LTI\ToolProvider\Util\MESSAGE_TYPE_MAPPING.
Here is the call graph for this function:
|
static |
Definition at line 1269 of file class.ilObjLTIConsumer.php.
References $data, $DIC, $message, ilObjectGUI\ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION, ilLTIConsumeProvider\AVAILABILITY_CREATE, ilLTIConsumeProvider\getId(), ilLTIConsumeProvider\insert(), ilLTIConsumeProvider\setAvailability(), ilLTIConsumeProvider\setClientId(), ilLTIConsumeProvider\setContentItemUrl(), ilLTIConsumeProvider\setCreator(), ilLTIConsumeProvider\setInitiateLogin(), ilLTIConsumeProvider\setIsGlobal(), ilLTIConsumeProvider\setKeyType(), ilLTIConsumeProvider\setLtiVersion(), ilLTIConsumeProvider\setProviderUrl(), ilLTIConsumeProvider\setPublicKeyset(), ilLTIConsumeProvider\setRedirectionUris(), and ilLTIConsumeProvider\setTitle().
Here is the call graph for this function:| ilObjLTIConsumer::save | ( | ) |
Definition at line 397 of file class.ilObjLTIConsumer.php.
References $DIC, dbTableName(), getCustomActivityId(), getCustomLaunchKey(), getCustomLaunchSecret(), getCustomParams(), getHighscoreAchievedTS(), getHighscoreEnabled(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), ilObject\getId(), getLaunchMethod(), getMasteryScore(), getProviderId(), getUseXapi(), isStatementsReportEnabled(), and saveRepositoryActivationSettings().
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 450 of file class.ilObjLTIConsumer.php.
References getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ilObjectActivation\getItem(), isActivationLimited(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1311 of file class.ilObjLTIConsumer.php.
References $DIC, Vendor\Package\$e, and ilObject\$log.
Referenced by invalidRequest(), and serverError().
Here is the caller graph for this function:
|
static |
Definition at line 1330 of file class.ilObjLTIConsumer.php.
References $DIC, Vendor\Package\$e, and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Referenced by sendAccessToken().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIConsumer::setActivationEndingTime | ( | ?int | $activationEndingTime = null | ) |
Definition at line 138 of file class.ilObjLTIConsumer.php.
References $activationEndingTime.
Referenced by loadRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::setActivationLimited | ( | bool | $activationLimited | ) |
Definition at line 118 of file class.ilObjLTIConsumer.php.
References $activationLimited.
Referenced by loadRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::setActivationStartingTime | ( | ?int | $activationStartingTime = null | ) |
Definition at line 128 of file class.ilObjLTIConsumer.php.
References $activationStartingTime.
Referenced by loadRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::setActivationVisibility | ( | bool | $activationVisibility | ) |
Definition at line 148 of file class.ilObjLTIConsumer.php.
References $activationVisibility.
Referenced by loadRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::setCustomActivityId | ( | string | $custom_activity_id | ) |
Definition at line 281 of file class.ilObjLTIConsumer.php.
References $custom_activity_id.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setCustomLaunchKey | ( | string | $customLaunchKey | ) |
Definition at line 223 of file class.ilObjLTIConsumer.php.
References $customLaunchKey.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setCustomLaunchSecret | ( | string | $customLaunchSecret | ) |
Definition at line 233 of file class.ilObjLTIConsumer.php.
References $customLaunchSecret.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setCustomParams | ( | string | $customParams | ) |
Definition at line 243 of file class.ilObjLTIConsumer.php.
References $customParams.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscoreAchievedTS | ( | bool | $a_achieved_ts | ) |
Sets if the date and time of the scores achievement should be displayed.
Definition at line 500 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscoreEnabled | ( | bool | $a_enabled | ) |
HIGHSCORE.
Sets if the highscore feature should be enabled.
Definition at line 481 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscoreMode | ( | int | $mode | ) |
| $mode | int |
Definition at line 636 of file class.ilObjLTIConsumer.php.
References setHighscoreOwnTable(), and setHighscoreTopTable().
Referenced by ilLTIConsumerSettingsFormGUI\initObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscoreOwnTable | ( | bool | $a_own_table | ) |
Sets if the table with the own ranking should be shown.
| bool | $a_own_table | True, if table with own ranking should be shown. |
Definition at line 556 of file class.ilObjLTIConsumer.php.
Referenced by load(), and setHighscoreMode().
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscorePercentage | ( | bool | $a_percentage | ) |
Sets if the percentages of the scores pass should be shown.
Definition at line 518 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscoreTopNum | ( | int | $a_top_num | ) |
Sets the number of entries which are to be shown in the top-rankings table.
| integer | $a_top_num | Number of entries in the top-rankings table. |
Definition at line 595 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscoreTopTable | ( | bool | $a_top_table | ) |
Sets if the top-rankings table should be shown.
Definition at line 574 of file class.ilObjLTIConsumer.php.
Referenced by load(), and setHighscoreMode().
Here is the caller graph for this function:| ilObjLTIConsumer::setHighscoreWTime | ( | bool | $a_wtime | ) |
Sets if the workingtime of the scores should be shown.
Definition at line 536 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setLaunchMethod | ( | string | $launchMethod | ) |
Definition at line 213 of file class.ilObjLTIConsumer.php.
References $launchMethod.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setMasteryScore | ( | float | $mastery_score | ) |
Definition at line 158 of file class.ilObjLTIConsumer.php.
References $mastery_score.
Referenced by load().
Here is the caller graph for this function:| ilObjLTIConsumer::setMasteryScorePercent | ( | float | $mastery_score_percent | ) |
Definition at line 168 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject().
Here is the caller graph for this function:| ilObjLTIConsumer::setProvider | ( | ilLTIConsumeProvider | $provider | ) |
Definition at line 193 of file class.ilObjLTIConsumer.php.
References $provider.
Referenced by load().
Here is the caller graph for this function:| ilObjLTIConsumer::setProviderId | ( | int | $providerId | ) |
Definition at line 178 of file class.ilObjLTIConsumer.php.
References $providerId.
Referenced by load().
Here is the caller graph for this function:| ilObjLTIConsumer::setStatementsReportEnabled | ( | bool | $statementsReportEnabled | ) |
Definition at line 300 of file class.ilObjLTIConsumer.php.
References $statementsReportEnabled.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:| ilObjLTIConsumer::setUseXapi | ( | bool | $use_xapi | ) |
Definition at line 271 of file class.ilObjLTIConsumer.php.
References $use_xapi.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:
|
static |
Definition at line 1104 of file class.ilObjLTIConsumer.php.
References $ilSetting, ILIAS\LTI\ToolProvider\$key, ILIAS\LTI\ToolProvider\$kid, and $res.
|
static |
Definition at line 1369 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerServiceBase\checkTool().
Here is the caller graph for this function:
|
protected |
Definition at line 75 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreAchievedTS().
|
protected |
Definition at line 71 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreEnabled().
|
protected |
Definition at line 81 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreOwnTable().
|
protected |
Definition at line 77 of file class.ilObjLTIConsumer.php.
Referenced by getHighscorePercentage().
|
protected |
Definition at line 85 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreTopNum().
|
protected |
Definition at line 83 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreTopTable().
|
protected |
Definition at line 79 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreWTime().
|
protected |
Definition at line 43 of file class.ilObjLTIConsumer.php.
Referenced by getActivationEndingTime(), and setActivationEndingTime().
|
protected |
repository object activation settings (handled by ilObject)
Definition at line 41 of file class.ilObjLTIConsumer.php.
Referenced by isActivationLimited(), and setActivationLimited().
|
protected |
Definition at line 42 of file class.ilObjLTIConsumer.php.
Referenced by getActivationStartingTime(), and setActivationStartingTime().
|
protected |
Definition at line 44 of file class.ilObjLTIConsumer.php.
Referenced by getActivationVisibility(), and setActivationVisibility().
|
protected |
Definition at line 73 of file class.ilObjLTIConsumer.php.
|
protected |
Definition at line 55 of file class.ilObjLTIConsumer.php.
Referenced by getActivityId(), getCustomActivityId(), and setCustomActivityId().
|
protected |
Definition at line 62 of file class.ilObjLTIConsumer.php.
Referenced by getCustomLaunchKey(), and setCustomLaunchKey().
|
protected |
Definition at line 64 of file class.ilObjLTIConsumer.php.
Referenced by getCustomLaunchSecret(), and setCustomLaunchSecret().
|
protected |
Definition at line 66 of file class.ilObjLTIConsumer.php.
Referenced by getCustomParams(), and setCustomParams().
|
protected |
Definition at line 60 of file class.ilObjLTIConsumer.php.
Referenced by getLaunchMethod(), and setLaunchMethod().
|
protected |
Definition at line 58 of file class.ilObjLTIConsumer.php.
Referenced by getMasteryScore(), and setMasteryScore().
|
protected |
Definition at line 48 of file class.ilObjLTIConsumer.php.
Referenced by getProvider(), and setProvider().
|
protected |
Definition at line 46 of file class.ilObjLTIConsumer.php.
Referenced by getProviderId(), and setProviderId().
|
protected |
Definition at line 68 of file class.ilObjLTIConsumer.php.
|
protected |
Definition at line 56 of file class.ilObjLTIConsumer.php.
Referenced by isStatementsReportEnabled(), and setStatementsReportEnabled().
|
protected |
Definition at line 54 of file class.ilObjLTIConsumer.php.
Referenced by getUseXapi(), and setUseXapi().
| const ilObjLTIConsumer::DB_TABLE_NAME = 'lti_consumer_settings' |
Definition at line 36 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::ERROR_OPEN_SSL_CONF = 'error openssl config invalid' |
Definition at line 94 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::HIGHSCORE_SHOW_ALL_TABLES = 1 |
Definition at line 87 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::HIGHSCORE_SHOW_OWN_TABLE = 3 |
Definition at line 89 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::HIGHSCORE_SHOW_TOP_TABLE = 2 |
Definition at line 88 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LAUNCH_METHOD_EMBEDDED = 'embedded' |
Definition at line 52 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LAUNCH_METHOD_NEW_WIN = 'newWin' |
Definition at line 51 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LAUNCH_METHOD_OWN_WIN = 'ownWin' |
Definition at line 50 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LTI_1_3_KID = 'lti_1_3_kid' |
Definition at line 92 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::LTI_1_3_PRIVATE_KEY = 'lti_1_3_privatekey' |
Definition at line 93 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::LTI_JWT_CLAIM_PREFIX = 'https://purl.imsglobal.org/spec/lti' |
Definition at line 91 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::OPENSSL_KEYTYPE_RSA = '' |
Definition at line 95 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::REG_TOKEN_OP_NEW_REG = 'reg' |
Definition at line 97 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::REG_TOKEN_OP_UPDATE_REG = 'reg-update' |
Definition at line 98 of file class.ilObjLTIConsumer.php.