|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
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 $token, 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 | getIconForType (string $type) |
| 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 () | |
| doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=null) | |
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 () | |
Private Member Functions | |
| determineLTIRole (int $a_user_id, int $a_ref_id, ilRbacReview $rbac_review_instance) | |
Definition at line 35 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::__construct | ( | int | $a_id = 0, |
| bool | $a_reference = true |
||
| ) |
ilObjLTIConsumer constructor.
Definition at line 104 of file class.ilObjLTIConsumer.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
static |
| ilWACException |
Definition at line 941 of file class.ilObjLTIConsumer.php.
References $clientId, $context, $DIC, CLIENT_ID, ilLTIConsumeProvider\getClientId(), ilLTIConsumeProvider\getId(), ilCmiXapiUser\getIdent(), ilCmiXapiUser\getIdentAsId(), 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 661 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, and ilLTIConsumerLaunch\signOAuth().
Here is the call graph for this function:| ilObjLTIConsumer::buildLaunchParametersLTI13 | ( | ilCmiXapiUser | $cmixUser, |
| string | $token, | ||
| string | $endpoint, | ||
| string | $clientId, | ||
| int | $deploymentId, | ||
| string | $nonce, | ||
| string | $contextType, | ||
| string | $contextId, | ||
| string | $contextTitle, | ||
| ?string | $returnUrl = '' |
||
| ) |
| ilWACException |
Definition at line 797 of file class.ilObjLTIConsumer.php.
References $DIC, $token, CLIENT_ID, determineLTIRole(), ilLTIConsumerResult\getByKeys(), getCustomParamsArray(), ilObject\getDescription(), ilObject\getId(), ilCmiXapiUser\getIdentAsId(), 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, and ROOT_FOLDER_ID.
Here is the call graph for this function:
|
protected |
Definition at line 472 of file class.ilObjLTIConsumer.php.
Referenced by save().
Here is the caller graph for this function:
|
private |
Definition at line 1470 of file class.ilObjLTIConsumer.php.
References $DIC, ilObject\_lookupTitle(), ilObject\_lookupType(), ilRbacReview\assignedGlobalRoles(), ilRbacReview\assignedRoles(), ilRbacReview\getParentRoleIds(), and SYSTEM_ROLE_ID.
Referenced by buildLaunchParametersLTI13().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1436 of file class.ilObjLTIConsumer.php.
References getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getCustomActivityId(), getCustomLaunchKey(), getCustomLaunchSecret(), getCustomParams(), getHighscoreAchievedTS(), getHighscoreEnabled(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getLaunchMethod(), getMasteryScore(), getProviderId(), getUseXapi(), isActivationLimited(), and isStatementsReportEnabled().
Here is the call graph for this function:
|
protected |
Definition at line 352 of file class.ilObjLTIConsumer.php.
References load().
Here is the call graph for this function:
|
protected |
Definition at line 394 of file class.ilObjLTIConsumer.php.
References save().
Here is the call graph for this function:
|
static |
Definition at line 1249 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 134 of file class.ilObjLTIConsumer.php.
References $activationEndingTime.
Referenced by doCloneObject(), and saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::getActivationStartingTime | ( | ) |
Definition at line 124 of file class.ilObjLTIConsumer.php.
References $activationStartingTime.
Referenced by doCloneObject(), and saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::getActivationVisibility | ( | ) |
Definition at line 144 of file class.ilObjLTIConsumer.php.
References $activationVisibility.
Referenced by doCloneObject(), and saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::getActivityId | ( | ) |
Definition at line 287 of file class.ilObjLTIConsumer.php.
References $custom_activity_id, and getProvider().
Here is the call graph for this function:
|
static |
Definition at line 1244 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 277 of file class.ilObjLTIConsumer.php.
References $custom_activity_id.
Referenced by doCloneObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomLaunchKey | ( | ) |
Definition at line 219 of file class.ilObjLTIConsumer.php.
References $customLaunchKey.
Referenced by doCloneObject(), getLaunchKey(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomLaunchSecret | ( | ) |
Definition at line 229 of file class.ilObjLTIConsumer.php.
References $customLaunchSecret.
Referenced by doCloneObject(), getLaunchSecret(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomParams | ( | ) |
Definition at line 239 of file class.ilObjLTIConsumer.php.
References $customParams.
Referenced by doCloneObject(), getCustomParamsArray(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getCustomParamsArray | ( | ) |
Definition at line 309 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 511 of file class.ilObjLTIConsumer.php.
References $_highscore_achieved_ts.
Referenced by doCloneObject(), and 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 493 of file class.ilObjLTIConsumer.php.
References $_highscore_enabled.
Referenced by doCloneObject(), ilLTIConsumerSettingsFormGUI\initObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreMode | ( | ) |
Definition at line 619 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 567 of file class.ilObjLTIConsumer.php.
References $_highscore_own_table.
Referenced by doCloneObject(), getHighscoreMode(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 529 of file class.ilObjLTIConsumer.php.
References $_highscore_percentage.
Referenced by doCloneObject(), and 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 609 of file class.ilObjLTIConsumer.php.
References $_highscore_top_num.
Referenced by doCloneObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 585 of file class.ilObjLTIConsumer.php.
References $_highscore_top_table.
Referenced by doCloneObject(), 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 547 of file class.ilObjLTIConsumer.php.
References $_highscore_wtime.
Referenced by doCloneObject(), and save().
Here is the caller graph for this function:
|
static |
Definition at line 1203 of file class.ilObjLTIConsumer.php.
References $_SERVER, $DIC, Vendor\Package\$f, $path, and ilContext\modifyHttpPath().
Referenced by ilObjLTIConsumerGUI\contentSelectionRequest(), ilLTIConsumerContentGUI\getEmbeddedAutoStartFormular(), 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 1391 of file class.ilObjLTIConsumer.php.
Referenced by ilCmiXapiStatementsReport\__construct(), ilCmiXapiAbstractReportLinkBuilder\getObj(), and ilCmiXapiHighscoreReport\initTableData().
Here is the caller graph for this function:
|
static |
| ilObjLTIConsumer::getLaunchKey | ( | ) |
Definition at line 249 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 209 of file class.ilObjLTIConsumer.php.
References $launchMethod.
Referenced by buildLaunchParameters(), buildLaunchParametersLTI13(), doCloneObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getLaunchSecret | ( | ) |
Definition at line 258 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 1431 of file class.ilObjLTIConsumer.php.
References ilLoggerFactory\getLogger().
Referenced by ilLTIConsumerGradeServiceScores\checkScore(), ilLTIConsumerGradeServiceScores\execute(), invalidRequest(), ilLTIConsumerServiceResponse\send(), sendAccessToken(), serverError(), and validateServiceToken().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIConsumer::getMasteryScore | ( | ) |
Definition at line 154 of file class.ilObjLTIConsumer.php.
References $mastery_score.
Referenced by doCloneObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::getMasteryScorePercent | ( | ) |
Definition at line 164 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerPlaceholderValues\getMasteryScore().
Here is the caller graph for this function:
|
static |
Definition at line 1353 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProvider\getClientId().
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1274 of file class.ilObjLTIConsumer.php.
|
static |
Definition at line 1239 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
Here is the caller graph for this function:
|
static |
Definition at line 1132 of file class.ilObjLTIConsumer.php.
References $ilSetting.
Referenced by sendAccessToken().
Here is the caller graph for this function:| ilObjLTIConsumer::getProvider | ( | ) |
Definition at line 189 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 332 of file class.ilObjLTIConsumer.php.
References $param, $params, and ilLTIConsumeProvider\getCustomParams().
Here is the call graph for this function:| ilObjLTIConsumer::getProviderId | ( | ) |
Definition at line 174 of file class.ilObjLTIConsumer.php.
References $providerId.
Referenced by doCloneObject(), initProvider(), and save().
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1254 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
Here is the caller graph for this function:
|
static |
Definition at line 1401 of file class.ilObjLTIConsumer.php.
|
static |
Definition at line 1269 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\getDynRegRequest().
Here is the caller graph for this function:
|
static |
Definition at line 1264 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumeProviderFormGUI\getDynRegRequest().
Here is the caller graph for this function:
|
static |
Definition at line 1259 of file class.ilObjLTIConsumer.php.
|
static |
| ilObjLTIConsumer::getUseXapi | ( | ) |
Definition at line 267 of file class.ilObjLTIConsumer.php.
References $use_xapi.
Referenced by doCloneObject(), ilLTIConsumerSettingsFormGUI\initObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::initProvider | ( | ) |
Definition at line 184 of file class.ilObjLTIConsumer.php.
References getProviderId().
Here is the call graph for this function:
|
protected |
Definition at line 109 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isActivationLimited | ( | ) |
Definition at line 114 of file class.ilObjLTIConsumer.php.
References $activationLimited.
Referenced by doCloneObject(), and saveRepositoryActivationSettings().
Here is the caller graph for this function:| ilObjLTIConsumer::isLaunchMethodEmbedded | ( | ) |
Definition at line 204 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isLaunchMethodOwnWin | ( | ) |
Definition at line 199 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isMixedContentType | ( | ) |
Definition at line 1396 of file class.ilObjLTIConsumer.php.
| ilObjLTIConsumer::isStatementsReportEnabled | ( | ) |
Definition at line 296 of file class.ilObjLTIConsumer.php.
References $statementsReportEnabled.
Referenced by doCloneObject(), and save().
Here is the caller graph for this function:| ilObjLTIConsumer::load | ( | ) |
Definition at line 357 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 428 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 1044 of file class.ilObjLTIConsumer.php.
References $privateKey, $typeId, and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
Here is the call graph for this function:
|
static |
Definition at line 1316 of file class.ilObjLTIConsumer.php.
References $data, $DIC, 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 399 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 453 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 1358 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 1377 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 139 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 119 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 129 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 149 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 282 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 224 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 234 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 244 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 501 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 483 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 637 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 557 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 519 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 596 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 575 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 537 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 214 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 159 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 169 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initObject().
Here is the caller graph for this function:| ilObjLTIConsumer::setProvider | ( | ilLTIConsumeProvider | $provider | ) |
Definition at line 194 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 179 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 301 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 272 of file class.ilObjLTIConsumer.php.
References $use_xapi.
Referenced by ilLTIConsumerSettingsFormGUI\initObject(), and load().
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1416 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerServiceBase\checkTool().
Here is the caller graph for this function:
|
protected |
Definition at line 76 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreAchievedTS().
|
protected |
Definition at line 72 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreEnabled().
|
protected |
Definition at line 82 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreOwnTable().
|
protected |
Definition at line 78 of file class.ilObjLTIConsumer.php.
Referenced by getHighscorePercentage().
|
protected |
Definition at line 86 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreTopNum().
|
protected |
Definition at line 84 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreTopTable().
|
protected |
Definition at line 80 of file class.ilObjLTIConsumer.php.
Referenced by getHighscoreWTime().
|
protected |
Definition at line 44 of file class.ilObjLTIConsumer.php.
Referenced by getActivationEndingTime(), and setActivationEndingTime().
|
protected |
repository object activation settings (handled by ilObject)
Definition at line 42 of file class.ilObjLTIConsumer.php.
Referenced by isActivationLimited(), and setActivationLimited().
|
protected |
Definition at line 43 of file class.ilObjLTIConsumer.php.
Referenced by getActivationStartingTime(), and setActivationStartingTime().
|
protected |
Definition at line 45 of file class.ilObjLTIConsumer.php.
Referenced by getActivationVisibility(), and setActivationVisibility().
|
protected |
Definition at line 74 of file class.ilObjLTIConsumer.php.
|
protected |
Definition at line 56 of file class.ilObjLTIConsumer.php.
Referenced by getActivityId(), getCustomActivityId(), and setCustomActivityId().
|
protected |
Definition at line 63 of file class.ilObjLTIConsumer.php.
Referenced by getCustomLaunchKey(), and setCustomLaunchKey().
|
protected |
Definition at line 65 of file class.ilObjLTIConsumer.php.
Referenced by getCustomLaunchSecret(), and setCustomLaunchSecret().
|
protected |
Definition at line 67 of file class.ilObjLTIConsumer.php.
Referenced by getCustomParams(), and setCustomParams().
|
protected |
Definition at line 61 of file class.ilObjLTIConsumer.php.
Referenced by getLaunchMethod(), and setLaunchMethod().
|
protected |
Definition at line 59 of file class.ilObjLTIConsumer.php.
Referenced by getMasteryScore(), and setMasteryScore().
|
protected |
Definition at line 49 of file class.ilObjLTIConsumer.php.
Referenced by getProvider(), and setProvider().
|
protected |
Definition at line 47 of file class.ilObjLTIConsumer.php.
Referenced by getProviderId(), and setProviderId().
|
protected |
Definition at line 69 of file class.ilObjLTIConsumer.php.
|
protected |
Definition at line 57 of file class.ilObjLTIConsumer.php.
Referenced by isStatementsReportEnabled(), and setStatementsReportEnabled().
|
protected |
Definition at line 55 of file class.ilObjLTIConsumer.php.
Referenced by getUseXapi(), and setUseXapi().
| const ilObjLTIConsumer::DB_TABLE_NAME = 'lti_consumer_settings' |
Definition at line 37 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::ERROR_OPEN_SSL_CONF = 'error openssl config invalid' |
Definition at line 95 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::HIGHSCORE_SHOW_ALL_TABLES = 1 |
Definition at line 88 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::HIGHSCORE_SHOW_OWN_TABLE = 3 |
Definition at line 90 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::HIGHSCORE_SHOW_TOP_TABLE = 2 |
Definition at line 89 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LAUNCH_METHOD_EMBEDDED = 'embedded' |
Definition at line 53 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LAUNCH_METHOD_NEW_WIN = 'newWin' |
Definition at line 52 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LAUNCH_METHOD_OWN_WIN = 'ownWin' |
Definition at line 51 of file class.ilObjLTIConsumer.php.
Referenced by ilLTIConsumerSettingsFormGUI\initForm().
| const ilObjLTIConsumer::LTI_1_3_KID = 'lti_1_3_kid' |
Definition at line 93 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::LTI_1_3_PRIVATE_KEY = 'lti_1_3_privatekey' |
Definition at line 94 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::LTI_JWT_CLAIM_PREFIX = 'https://purl.imsglobal.org/spec/lti' |
Definition at line 92 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::OPENSSL_KEYTYPE_RSA = '' |
Definition at line 96 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::REG_TOKEN_OP_NEW_REG = 'reg' |
Definition at line 98 of file class.ilObjLTIConsumer.php.
| const ilObjLTIConsumer::REG_TOKEN_OP_UPDATE_REG = 'reg-update' |
Definition at line 99 of file class.ilObjLTIConsumer.php.