|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilLTIDataConnector:
Collaboration diagram for ilLTIDataConnector:Public Member Functions | |
| __construct () | |
| ilLTIDataConnector constructor. More... | |
| loadPlatform (Platform|ilLTIPlatform $platform) | |
| Load platform object. More... | |
| loadGlobalToolConsumerSettings (ilLTIPlatform $platform) | |
| Load global tool consumer settings in consumer. More... | |
| lookupRecordIdByGlobalSettingsAndRefId (ilLTIPlatform $platform) | |
| Lookup record id for global settings and ref_id. More... | |
| saveGlobalToolConsumerSettings (ilLTIPlatform $platform) | |
| Save lti_ext_consumer. More... | |
| saveToolConsumerILIAS (ilLTIPlatform $platform) | |
| Save extended tool consumer object with ILIAS extensions. More... | |
| deleteGlobalToolConsumerSettings (ilLTIPlatform $platform) | |
| Delete global tool consumer settings. More... | |
| deleteToolConsumer (DataConnectorPlatform $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, ?IdScope $idScope) | |
| Get array of user objects. More... | |
| loadPlatformNonce (PlatformNonce $nonce) | |
| Load nonce object. More... | |
| savePlatformNonce (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 (User $userresult) | |
| Load user object. More... | |
| saveUserResult (User $userresult) | |
| Save user object. More... | |
| deleteUser (DataConnectorUser $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 (mixed $db=null, string $dbTableNamePrefix='', string $type='') |
Private Attributes | |
| ilLogger | $logger = null |
| ilDBInterface | $database |
Definition at line 31 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::__construct | ( | ) |
ilLTIDataConnector constructor.
Definition at line 40 of file class.ilLTIDataConnector.php.
References $DIC, ILIAS\Repository\database(), 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 1031 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::deleteGlobalToolConsumerSettings | ( | ilLTIPlatform | $platform | ) |
Delete global tool consumer settings.
Definition at line 670 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.
| 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 $ilDB.
| ilLTIDataConnector::deleteToolConsumer | ( | DataConnectorPlatform | $platform | ) |
Delete tool consumer object.
| Platform | $platform | Consumer object |
Definition at line 699 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::deleteUser | ( | DataConnectorUser | $user | ) |
Delete user object.
| User | $user | User object |
Definition at line 1665 of file class.ilLTIDataConnector.php.
References 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.
Referenced by ilLTIPlatform\__construct(), and ilLTITool\__construct().
Here is the caller graph for this function:| ilLTIDataConnector::getGlobalToolConsumerSettings | ( | ) |
Get global consumer settings.
Definition at line 810 of file class.ilLTIDataConnector.php.
References $database, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilLTIDataConnector::getToolConsumers | ( | ) |
Definition at line 839 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::getUserResultSourcedIDsResourceLink | ( | ResourceLink | $resourceLink, |
| bool | $localOnly, | ||
| ?IdScope | $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) |
| IdScope | $idScope | Scope value to use for user IDs |
Definition at line 1340 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::loadContext | ( | Context | $context | ) |
Load context object.
| Context | $context | Context object |
Definition at line 947 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::loadGlobalToolConsumerSettings | ( | ilLTIPlatform | $platform | ) |
Load global tool consumer settings in consumer.
| ilLTIPlatform | $platform |
Definition at line 200 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\fromExternalConsumerId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIDataConnector::loadPlatform | ( | Platform|ilLTIPlatform | $platform | ) |
Load platform object.
| Platform | $platform | Platform object |
Definition at line 58 of file class.ilLTIDataConnector.php.
References $id, $res, ILIAS\Repository\database(), ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), ilLTIPlatform\setExtConsumerId(), and ilLTIPlatform\setRefId().
Here is the call graph for this function:| ilLTIDataConnector::loadPlatformNonce | ( | PlatformNonce | $nonce | ) |
Load nonce object.
| PlatformNonce | $nonce | Nonce object |
Definition at line 1425 of file class.ilLTIDataConnector.php.
References $ilDB.
| ilLTIDataConnector::loadResourceLink | ( | ResourceLink | $resourceLink | ) |
Load resource link object.
| ResourceLink | $resourceLink | Resource_Link object |
Definition at line 1093 of file class.ilLTIDataConnector.php.
References $database, $id, $ilDB, and ILIAS\Repository\logger().
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.
| ilLTIDataConnector::loadUserResult | ( | User | $userresult | ) |
Load user object.
| User | $userresult | User object |
Definition at line 1572 of file class.ilLTIDataConnector.php.
References 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 | ) |
Lookup record id for global settings and ref_id.
| ilLTIPlatform | $platform |
Definition at line 314 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 $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.
Referenced by ilLTIAppEventListener\handleOutcomeWithoutLP().
Here is the caller graph for this function:| ilLTIDataConnector::saveContext | ( | Context | $context | ) |
Save context object.
| Context | $context | Context object |
Definition at line 990 of file class.ilLTIDataConnector.php.
| ilLTIDataConnector::saveGlobalToolConsumerSettings | ( | ilLTIPlatform | $platform | ) |
Save lti_ext_consumer.
Definition at line 474 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 | ( | PlatformNonce | $nonce | ) |
Save nonce object.
| PlatformNonce | $nonce | Nonce object |
Definition at line 1457 of file class.ilLTIDataConnector.php.
References $ilDB.
| 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, and ILIAS\Repository\logger().
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 $ilDB.
| ilLTIDataConnector::saveToolConsumerILIAS | ( | ilLTIPlatform | $platform | ) |
Save extended tool consumer object with ILIAS extensions.
| ilLTIPlatform | $platform | Consumer object |
Definition at line 516 of file class.ilLTIDataConnector.php.
References $database, $id, $ilDB, 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 | ( | User | $userresult | ) |
Save user object.
| User | $user | User object |
Definition at line 1615 of file class.ilLTIDataConnector.php.
References Vendor\Package\$e, $ilDB, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 35 of file class.ilLTIDataConnector.php.
Referenced by deleteContext(), deleteGlobalToolConsumerSettings(), deleteResourceLink(), deleteToolConsumer(), getGlobalToolConsumerSettings(), getToolConsumers(), loadContext(), loadGlobalToolConsumerSettings(), loadResourceLink(), lookupRecordIdByGlobalSettingsAndRefId(), saveContext(), saveGlobalToolConsumerSettings(), saveResourceLink(), and saveToolConsumerILIAS().
|
private |
Definition at line 33 of file class.ilLTIDataConnector.php.