|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilLTIDataConnector:
Collaboration diagram for ilLTIDataConnector:Public Member Functions | |
| __construct () | |
| ilLTIDataConnector constructor. More... | |
| loadPlatform (\ILIAS\LTI\ToolProvider\Platform $platform) | |
| Load platform object. More... | |
| loadGlobalToolConsumerSettings (ilLTIPlatform $platform) | |
| Load tool consumer settings. More... | |
| lookupRecordIdByGlobalSettingsAndRefId (ilLTIPlatform $platform) | |
| Load extended tool consumer object with ILIAS extension. More... | |
| saveGlobalToolConsumerSettings (ilLTIPlatform $platform) | |
| Save platform object. More... | |
| saveToolConsumerILIAS (ilLTIPlatform $platform) | |
| Save extended tool consumer object with ILIAS extensions. More... | |
| deleteGlobalToolConsumerSettings (ilLTIPlatform $platform) | |
| Delete global tool consumer settings. More... | |
| deleteToolConsumer (\ILIAS\LTI\ToolProvider\Platform $platform) | |
| Delete tool consumer object. More... | |
| getGlobalToolConsumerSettings () | |
| Get global consumer settings. More... | |
| getToolConsumers () | |
| loadContext (Context $context) | |
| Load context object. More... | |
| saveContext (Context $context) | |
| Save context object. More... | |
| deleteContext (Context $context) | |
| Delete context object. More... | |
| loadResourceLink (ResourceLink $resourceLink) | |
| Load resource link object. More... | |
| saveResourceLink (ResourceLink $resourceLink) | |
| Save resource link object. More... | |
| deleteResourceLink (ResourceLink $resourceLink) | |
| Delete resource link object. More... | |
| getUserResultSourcedIDsResourceLink (ResourceLink $resourceLink, bool $localOnly, int $idScope) | |
| Get array of user objects. More... | |
| loadPlatformNonce (\ILIAS\LTI\ToolProvider\PlatformNonce $nonce) | |
| Get array of shares defined for this resource link. More... | |
| savePlatformNonce (\ILIAS\LTI\ToolProvider\PlatformNonce $nonce) | |
| Save nonce object. More... | |
| loadResourceLinkShareKey (ResourceLinkShareKey $shareKey) | |
| Load resource link share key object. More... | |
| saveResourceLinkShareKey (ResourceLinkShareKey $shareKey) | |
| Save resource link share key object. More... | |
| deleteResourceLinkShareKey (ResourceLinkShareKey $shareKey) | |
| Delete resource link share key object. More... | |
| loadUserResult (\ILIAS\LTI\ToolProvider\User $userresult) | |
| Load user object. More... | |
| saveUserResult (\ILIAS\LTI\ToolProvider\User $userresult) | |
| Save user object. More... | |
| deleteUser (\ILIAS\LTI\ToolProvider\User $user) | |
| Delete user object. More... | |
| lookupResourcesForUserObjectRelation (int $a_ref_id, string $a_lti_user, int $a_ext_consumer, ilDateTime $since=null) | |
| Lookup resources for user object relation. More... | |
| lookupResourcesForAllUsersSinceDate (ilDateTime $since) | |
Static Public Member Functions | |
| static | getDataConnector (object $db=null, string $dbTableNamePrefix='', string $type='') |
Private Attributes | |
| ilLogger | $logger = null |
| ilDBInterface | $database |
Definition at line 36 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::__construct | ( | ) |
ilLTIDataConnector constructor.
Definition at line 45 of file class.ilLTIDataConnector.php.
References $DIC, ilLoggerFactory\getLogger(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilLTIDataConnector::deleteContext | ( | Context | $context | ) |
Delete context object.
| Context | $context | Context object |
Definition at line 1030 of file class.ilLTIDataConnector.php.
References $database, $ilDB, ILIAS\LTI\ToolProvider\Context\getRecordId(), and ILIAS\LTI\ToolProvider\Context\initialize().
Here is the call graph for this function:| ilLTIDataConnector::deleteGlobalToolConsumerSettings | ( | ilLTIPlatform | $platform | ) |
Delete global tool consumer settings.
Definition at line 669 of file class.ilLTIDataConnector.php.
References $database, $ilDB, ilLTIPlatform\getExtConsumerId(), and ilLTIPlatform\initialize().
Referenced by ilLTIPlatform\deleteGlobalToolConsumerSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIDataConnector::deleteResourceLink | ( | ResourceLink | $resourceLink | ) |
Delete resource link object.
| ResourceLink | $resourceLink | Resource_Link object |
Definition at line 1285 of file class.ilLTIDataConnector.php.
References $database, $ilDB, ILIAS\LTI\ToolProvider\ResourceLink\getRecordId(), and ILIAS\LTI\ToolProvider\ResourceLink\initialize().
Here is the call graph for this function:| ilLTIDataConnector::deleteResourceLinkShareKey | ( | ResourceLinkShareKey | $shareKey | ) |
Delete resource link share key object.
| ResourceLinkShareKey | $shareKey | Resource link share key object |
Definition at line 1546 of file class.ilLTIDataConnector.php.
References $database, $ilDB, ILIAS\LTI\ToolProvider\ResourceLinkShareKey\getId(), and ILIAS\LTI\ToolProvider\ResourceLinkShareKey\initialize().
Here is the call graph for this function:| ilLTIDataConnector::deleteToolConsumer | ( | \ILIAS\LTI\ToolProvider\Platform | $platform | ) |
Delete tool consumer object.
| Platform | $platform | Consumer object |
Definition at line 698 of file class.ilLTIDataConnector.php.
References $database, and $ilDB.
| ilLTIDataConnector::deleteUser | ( | \ILIAS\LTI\ToolProvider\User | $user | ) |
Delete user object.
| User | $user | User object |
Definition at line 1665 of file class.ilLTIDataConnector.php.
References $database, Vendor\Package\$e, $ilDB, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
static |
Definition at line 1746 of file class.ilLTIDataConnector.php.
References ILIAS\LTI\ToolProvider\$dataConnector.
Referenced by ilLTITool\__construct(), and ilLTIPlatform\__construct().
Here is the caller graph for this function:| ilLTIDataConnector::getGlobalToolConsumerSettings | ( | ) |
Get global consumer settings.
Definition at line 809 of file class.ilLTIDataConnector.php.
References $database, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjectConsumerTableGUI\getItems().
Here is the caller graph for this function:| ilLTIDataConnector::getToolConsumers | ( | ) |
Definition at line 838 of file class.ilLTIDataConnector.php.
References $database, $ilDB, $res, and ILIAS\LTI\ToolProvider\$settings.
| ilLTIDataConnector::getUserResultSourcedIDsResourceLink | ( | ResourceLink | $resourceLink, |
| bool | $localOnly, | ||
| int | $idScope | ||
| ) |
Get array of user objects.
Obtain an array of User objects for users with a result sourcedId. The array may include users from other resource links which are sharing this resource link. It may also be optionally indexed by the user ID of a specified scope.
| ResourceLink | $resourceLink | Resource link object |
| boolean | $localOnly | True if only users within the resource link are to be returned (excluding users sharing this resource link) |
| int | $idScope | Scope value to use for user IDs |
Definition at line 1340 of file class.ilLTIDataConnector.php.
References $database, and $ilDB.
| ilLTIDataConnector::loadContext | ( | Context | $context | ) |
Load context object.
| Context | $context | Context object |
Definition at line 946 of file class.ilLTIDataConnector.php.
References $database, $ilDB, ILIAS\LTI\ToolProvider\$settings, ILIAS\LTI\ToolProvider\Context\getPlatform(), ILIAS\LTI\ToolProvider\Context\getRecordId(), ILIAS\LTI\ToolProvider\Context\setPlatformId(), ILIAS\LTI\ToolProvider\Context\setRecordId(), and ILIAS\LTI\ToolProvider\Context\setSettings().
Here is the call graph for this function:| ilLTIDataConnector::loadGlobalToolConsumerSettings | ( | ilLTIPlatform | $platform | ) |
Load tool consumer settings.
| ilLTIPlatform | $platform |
| ilLTIPlatform | $platform |
Definition at line 199 of file class.ilLTIDataConnector.php.
References $database, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ilLTIPlatform\getExtConsumerId(), ilLTIPlatform\setActive(), ilLTIPlatform\setDescription(), ilLTIPlatform\setLanguage(), ilLTIPlatform\setPrefix(), ilLTIPlatform\setRole(), and ilLTIPlatform\setTitle().
Referenced by ilLTIPlatform\fromConsumerKey(), ilLTIPlatform\fromExternalConsumerId(), ilLTIPlatform\fromPlatformId(), and ilLTIPlatform\fromRecordId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIDataConnector::loadPlatform | ( | \ILIAS\LTI\ToolProvider\Platform | $platform | ) |
Load platform object.
| Platform | $platform | Platform object |
Definition at line 63 of file class.ilLTIDataConnector.php.
References $id, ILIAS\LTI\ToolProvider\$key, $res, and ILIAS\LTI\ToolProvider\$settings.
Referenced by ilLTIPlatform\fromConsumerKey(), ILIAS\LTI\ToolProvider\Platform\fromConsumerKey(), ilLTIPlatform\fromPlatformId(), and ilLTIPlatform\fromRecordId().
Here is the caller graph for this function:| ilLTIDataConnector::loadPlatformNonce | ( | \ILIAS\LTI\ToolProvider\PlatformNonce | $nonce | ) |
Get array of shares defined for this resource link.
| ResourceLink | $resourceLink | Resource_Link object |
| PlatformNonce | $nonce | Nonce object |
Definition at line 1425 of file class.ilLTIDataConnector.php.
References $database, and $ilDB.
| ilLTIDataConnector::loadResourceLink | ( | ResourceLink | $resourceLink | ) |
Load resource link object.
| ResourceLink | $resourceLink | Resource_Link object |
Definition at line 1092 of file class.ilLTIDataConnector.php.
References $database, $id, $ilDB, ILIAS\LTI\ToolProvider\$settings, ILIAS\LTI\ToolProvider\ResourceLink\getContext(), ILIAS\LTI\ToolProvider\ResourceLink\getId(), ILIAS\LTI\ToolProvider\ResourceLink\getPlatform(), ILIAS\LTI\ToolProvider\ResourceLink\getRecordId(), ILIAS\Repository\logger(), ILIAS\LTI\ToolProvider\ResourceLink\setContextId(), ILIAS\LTI\ToolProvider\ResourceLink\setPlatformId(), ILIAS\LTI\ToolProvider\ResourceLink\setRecordId(), and ILIAS\LTI\ToolProvider\ResourceLink\setSettings().
Here is the call graph for this function:| ilLTIDataConnector::loadResourceLinkShareKey | ( | ResourceLinkShareKey | $shareKey | ) |
Load resource link share key object.
| ResourceLinkShareKey | $shareKey | Resource_Link share key object |
Definition at line 1481 of file class.ilLTIDataConnector.php.
References $database, $id, $ilDB, and ILIAS\LTI\ToolProvider\ResourceLinkShareKey\getId().
Here is the call graph for this function:| ilLTIDataConnector::loadUserResult | ( | \ILIAS\LTI\ToolProvider\User | $userresult | ) |
Load user object.
| User | $user | User object |
Definition at line 1572 of file class.ilLTIDataConnector.php.
References $database, Vendor\Package\$e, $id, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilLTIDataConnector::lookupRecordIdByGlobalSettingsAndRefId | ( | ilLTIPlatform | $platform | ) |
Load extended tool consumer object with ILIAS extension.
| Platform | $platform | Platform object |
| ilLTIPlatform | $platform |
Definition at line 313 of file class.ilLTIDataConnector.php.
References $database, $res, ilDBConstants\FETCHMODE_OBJECT, ilLTIPlatform\getExtConsumerId(), ilLTIPlatform\getRefId(), and ilDBInterface\quote().
Referenced by ilLTIPlatform\fromGlobalSettingsAndRefId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIDataConnector::lookupResourcesForAllUsersSinceDate | ( | ilDateTime | $since | ) |
| \ilDateTime | $since |
Definition at line 1726 of file class.ilLTIDataConnector.php.
References $database, $res, $results, ilDBConstants\FETCHMODE_OBJECT, ilDateTime\get(), ilLoggerFactory\getLogger(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilLTIDataConnector::lookupResourcesForUserObjectRelation | ( | int | $a_ref_id, |
| string | $a_lti_user, | ||
| int | $a_ext_consumer, | ||
| ilDateTime | $since = null |
||
| ) |
Lookup resources for user object relation.
| int | $a_ref_id | |
| string | $a_lti_user | |
| int | $a_ext_consumer | |
| ilDateTime | null | $since |
Definition at line 1691 of file class.ilLTIDataConnector.php.
References $database, Vendor\Package\$e, $res, ilDBConstants\FETCHMODE_OBJECT, and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilLTIDataConnector::saveContext | ( | Context | $context | ) |
Save context object.
| Context | $context | Context object |
Definition at line 989 of file class.ilLTIDataConnector.php.
References $database, $id, $ilDB, ILIAS\LTI\ToolProvider\Context\getPlatform(), ILIAS\LTI\ToolProvider\Context\getRecordId(), ILIAS\LTI\ToolProvider\Context\getSettings(), and ILIAS\LTI\ToolProvider\Context\setRecordId().
Here is the call graph for this function:| ilLTIDataConnector::saveGlobalToolConsumerSettings | ( | ilLTIPlatform | $platform | ) |
Save platform object.
| Platform | $platform | Consumer object |
Definition at line 473 of file class.ilLTIDataConnector.php.
References $database, $ilDB, ilLTIPlatform\getActive(), ilLTIPlatform\getDescription(), ilLTIPlatform\getExtConsumerId(), ilLTIPlatform\getLanguage(), ilLTIPlatform\getPrefix(), ilLTIPlatform\getRole(), ilLTIPlatform\getTitle(), and ilLTIPlatform\setExtConsumerId().
Referenced by ilLTIPlatform\saveGlobalToolConsumerSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIDataConnector::savePlatformNonce | ( | \ILIAS\LTI\ToolProvider\PlatformNonce | $nonce | ) |
Save nonce object.
| PlatformNonce | $nonce | Nonce object |
Definition at line 1457 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::saveResourceLink | ( | ResourceLink | $resourceLink | ) |
Save resource link object.
| ResourceLink | $resourceLink | Resource_Link object |
Definition at line 1176 of file class.ilLTIDataConnector.php.
References $database, $id, $ilDB, ilLogLevel\DEBUG, ILIAS\LTI\ToolProvider\ResourceLink\getContext(), ILIAS\LTI\ToolProvider\ResourceLink\getContextId(), ILIAS\LTI\ToolProvider\ResourceLink\getId(), ILIAS\LTI\ToolProvider\ResourceLink\getPlatform(), ILIAS\LTI\ToolProvider\ResourceLink\getRecordId(), ILIAS\LTI\ToolProvider\ResourceLink\getSettings(), ILIAS\Repository\logger(), and ILIAS\LTI\ToolProvider\ResourceLink\setRecordId().
Here is the call graph for this function:| ilLTIDataConnector::saveResourceLinkShareKey | ( | ResourceLinkShareKey | $shareKey | ) |
Save resource link share key object.
| ResourceLinkShareKey | $shareKey | Resource link share key object |
Definition at line 1521 of file class.ilLTIDataConnector.php.
References $database, $ilDB, and ILIAS\LTI\ToolProvider\ResourceLinkShareKey\getId().
Here is the call graph for this function:| ilLTIDataConnector::saveToolConsumerILIAS | ( | ilLTIPlatform | $platform | ) |
Save extended tool consumer object with ILIAS extensions.
| ilLTIPlatform | $platform | Consumer object |
Definition at line 515 of file class.ilLTIDataConnector.php.
References $database, ILIAS\LTI\ToolProvider\$enabled, $id, $ilDB, ILIAS\LTI\ToolProvider\$key, ilLTIPlatform\getExtConsumerId(), ilLTIPlatform\getRefId(), and ilLTIPlatform\getTitle().
Referenced by ilLTIPlatform\saveLTI().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIDataConnector::saveUserResult | ( | \ILIAS\LTI\ToolProvider\User | $userresult | ) |
Save user object.
| User | $user | User object |
Definition at line 1615 of file class.ilLTIDataConnector.php.
References $database, Vendor\Package\$e, $ilDB, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 40 of file class.ilLTIDataConnector.php.
Referenced by deleteContext(), deleteGlobalToolConsumerSettings(), deleteResourceLink(), deleteResourceLinkShareKey(), deleteToolConsumer(), deleteUser(), getGlobalToolConsumerSettings(), getToolConsumers(), getUserResultSourcedIDsResourceLink(), loadContext(), loadGlobalToolConsumerSettings(), loadPlatformNonce(), loadResourceLink(), loadResourceLinkShareKey(), loadUserResult(), lookupRecordIdByGlobalSettingsAndRefId(), lookupResourcesForAllUsersSinceDate(), lookupResourcesForUserObjectRelation(), saveContext(), saveGlobalToolConsumerSettings(), savePlatformNonce(), saveResourceLink(), saveResourceLinkShareKey(), saveToolConsumerILIAS(), and saveUserResult().
|
private |
Definition at line 38 of file class.ilLTIDataConnector.php.