LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
DataConnector Class Reference

Class to provide a connection to a persistent store for LTI objects. More...

Inheritance diagram for DataConnector:
DataConnector_mysql DataConnector_mysqli DataConnector_oci DataConnector_pdo DataConnector_pg DataConnector_sqlsrv DataConnector_pdo_oci DataConnector_pdo_pgsql

Public Member Functions

 loadToolConsumer ($consumer)
 Load tool consumer object.
 
 saveToolConsumer ($consumer)
 Save tool consumer object.
 
 deleteToolConsumer ($consumer)
 Delete tool consumer object.
 
 getToolConsumers ()
 Load tool consumer objects.
 
 loadPlatform ($platform)
 Load platform object.
 
 savePlatform ($platform)
 Save platform object.
 
 deletePlatform ($platform)
 Delete platform object.
 
 getPlatforms ()
 Load platform objects.
 
 loadContext ($context)
 Load context object.
 
 saveContext ($context)
 Save context object.
 
 deleteContext ($context)
 Delete context object.
 
 loadResourceLink ($resourceLink)
 Load resource link object.
 
 saveResourceLink ($resourceLink)
 Save resource link object.
 
 deleteResourceLink ($resourceLink)
 Delete resource link object.
 
 getUserResultSourcedIDsResourceLink ($resourceLink, $localOnly, $idScope)
 Get array of user objects.
 
 getSharesResourceLink ($resourceLink)
 Get array of shares defined for this resource link.
 
 loadConsumerNonce ($nonce)
 Load nonce object.
 
 saveConsumerNonce ($nonce)
 Save nonce object.
 
 deleteConsumerNonce ($nonce)
 Delete nonce object.
 
 loadPlatformNonce ($nonce)
 Load nonce object.
 
 savePlatformNonce ($nonce)
 Save nonce object.
 
 deletePlatformNonce ($nonce)
 Delete nonce object.
 
 loadAccessToken ($accessToken)
 Load access token object.
 
 saveAccessToken ($accessToken)
 Save access token object.
 
 loadResourceLinkShareKey ($shareKey)
 Load resource link share key object.
 
 saveResourceLinkShareKey ($shareKey)
 Save resource link share key object.
 
 deleteResourceLinkShareKey ($shareKey)
 Delete resource link share key object.
 
 loadUserResult ($userresult)
 Load user object.
 
 saveUserResult ($userresult)
 Save user object.
 
 deleteUserResult ($userresult)
 Delete user object.
 
 loadTool ($tool)
 Load tool object.
 
 saveTool ($tool)
 Save tool object.
 
 deleteTool ($tool)
 Delete tool object.
 
 getTools ()
 Load tool objects.
 
 escape ($value, $addQuotes=true)
 Escape a string for use in a database query.
 

Static Public Member Functions

static useMemcache ($host=null, $port=-1)
 Set/check whether memcached should be used when available.
 
static getDataConnector ($db=null, $dbTableNamePrefix='', $type='')
 Create data connector object.
 
static getRandomString ($length=8)
 Generate a random string.
 
static quoted ($value, $addQuotes=true)
 Quote a string for use in a database query.
 

Data Fields

const PLATFORM_TABLE_NAME = 'lti2_consumer'
 Default name for database table used to store platforms.
 
const CONSUMER_TABLE_NAME = self::PLATFORM_TABLE_NAME
 Default name for database table used to store platforms.
 
const CONTEXT_TABLE_NAME = 'lti2_context'
 Default name for database table used to store contexts.
 
const RESOURCE_LINK_TABLE_NAME = 'lti2_resource_link'
 Default name for database table used to store resource links.
 
const USER_RESULT_TABLE_NAME = 'lti2_user_result'
 Default name for database table used to store users.
 
const RESOURCE_LINK_SHARE_KEY_TABLE_NAME = 'lti2_share_key'
 Default name for database table used to store resource link share keys.
 
const NONCE_TABLE_NAME = 'lti2_nonce'
 Default name for database table used to store nonce values.
 
const ACCESS_TOKEN_TABLE_NAME = 'lti2_access_token'
 Default name for database table used to store access token values.
 
const TOOL_TABLE_NAME = 'lti2_tool'
 Default name for database table used to store tools.
 

Protected Member Functions

 __construct ($db, $dbTableNamePrefix='')
 Class constructor.
 
 fixPlatformSettings ($platform, $isSave)
 Adjust the settings for any platform properties being stored as a setting value.
 
 fixToolSettings ($tool, $isSave)
 Adjust the settings for any tool properties being stored as a setting value.
 

Protected Attributes

 $db = null
 Database connection.
 
 $dbTableNamePrefix = ''
 Prefix for database table names.
 
 $dateFormat = 'Y-m-d'
 SQL date format (default = 'Y-m-d')
 
 $timeFormat = 'H:i:s'
 SQL time format (default = 'H:i:s')
 

Detailed Description

Class to provide a connection to a persistent store for LTI objects.

This class assumes no data persistence - it should be extended for specific database connections.

Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Definition at line 25 of file DataConnector.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $db,
  $dbTableNamePrefix = '' 
)
protected

Class constructor.

Parameters
object | resource$dbDatabase connection object
string$dbTableNamePrefixPrefix for database table names (optional, default is none)

Reimplemented in DataConnector_mysql, DataConnector_oci, and DataConnector_pdo_oci.

Definition at line 117 of file DataConnector.php.

References DataConnector\$db, and DataConnector\$dbTableNamePrefix.

Member Function Documentation

◆ deleteConsumerNonce()

deleteConsumerNonce (   $nonce)

Delete nonce object.

Deprecated:
Use deletePlatformNonce() instead
See also
DataConnector::deletePlatformNonce()
Parameters
ConsumerNonce$nonceNonce object
Returns
bool True if the nonce object was successfully deleted

Definition at line 464 of file DataConnector.php.

References DataConnector\deletePlatformNonce(), and Util\logDebug().

◆ deleteContext()

deleteContext (   $context)

Delete context object.

Parameters
Context$contextContext object
Returns
bool True if the Context object was successfully deleted

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 332 of file DataConnector.php.

◆ deletePlatform()

deletePlatform (   $platform)

Delete platform object.

Parameters
Platform$platformPlatform object
Returns
bool True if the platform object was successfully deleted

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 274 of file DataConnector.php.

Referenced by DataConnector\deleteToolConsumer().

◆ deletePlatformNonce()

deletePlatformNonce (   $nonce)

Delete nonce object.

Parameters
PlatformNonce$nonceNonce object
Returns
bool True if the nonce object was successfully deleted

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 523 of file DataConnector.php.

Referenced by DataConnector\deleteConsumerNonce().

◆ deleteResourceLink()

deleteResourceLink (   $resourceLink)

Delete resource link object.

Parameters
ResourceLink$resourceLinkResourceLink object
Returns
bool True if the resource link object was successfully deleted

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 380 of file DataConnector.php.

◆ deleteResourceLinkShareKey()

deleteResourceLinkShareKey (   $shareKey)

Delete resource link share key object.

Parameters
ResourceLinkShareKey$shareKeyResource link share key object
Returns
bool True if the resource link share key object was successfully deleted

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 638 of file DataConnector.php.

◆ deleteTool()

deleteTool (   $tool)

Delete tool object.

Parameters
Tool$toolTool object
Returns
bool True if the tool object was successfully deleted

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 734 of file DataConnector.php.

◆ deleteToolConsumer()

deleteToolConsumer (   $consumer)

Delete tool consumer object.

Deprecated:
Use deletePlatform() instead
See also
DataConnector::deletePlatform()
Parameters
ToolConsumer$consumerTool consumer object
Returns
bool True if the tool consumer object was successfully deleted

Definition at line 213 of file DataConnector.php.

References DataConnector\deletePlatform(), and Util\logDebug().

◆ deleteUserResult()

deleteUserResult (   $userresult)

Delete user object.

Parameters
UserResult$userresultUserResult object
Returns
bool True if the user object was successfully deleted

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 684 of file DataConnector.php.

◆ escape()

escape (   $value,
  $addQuotes = true 
)

Escape a string for use in a database query.

Any single quotes in the value passed will be replaced with two single quotes. If a null value is passed, a string of 'null' is returned (which will never be enclosed in quotes irrespective of the value of the $addQuotes parameter.

Parameters
string$valueValue to be escaped
bool$addQuotesIf true the returned string will be enclosed in single quotes (optional, default is true)
Returns
string The escaped string.

Reimplemented in DataConnector_mysql, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 832 of file DataConnector.php.

◆ fixPlatformSettings()

◆ fixToolSettings()

◆ getDataConnector()

static getDataConnector (   $db = null,
  $dbTableNamePrefix = '',
  $type = '' 
)
static

Create data connector object.

A data connector provides access to persistent storage for the different objects.

Names of tables may be given a prefix to allow multiple versions to share the same schema. A separate sub-class is defined for each different database connection - the class to use is determined by inspecting the database object passed, but this can be overridden (for example, to use a bespoke connector) by specifying a type. If no database is passed then this class is used which acts as a dummy connector with no persistence.

Parameters
object | resource$dbA database connection object or string (optional, default is no persistence)
string$dbTableNamePrefixPrefix for database table names (optional, default is none)
string$typeThe type of data connector (optional, default is based on $db parameter)
Returns
DataConnector Data connector object

Definition at line 771 of file DataConnector.php.

References DataConnector\$db, and DataConnector\$dbTableNamePrefix.

◆ getPlatforms()

getPlatforms ( )

Load platform objects.

Returns
Platform[] Array of all defined Platform objects

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 286 of file DataConnector.php.

Referenced by DataConnector\getToolConsumers().

◆ getRandomString()

static getRandomString (   $length = 8)
static

Generate a random string.

The generated string will only comprise letters (upper- and lower-case) and digits.

Deprecated:
Use Util::getRandomString() instead
See also
Util::getRandomString()
Parameters
int$lengthLength of string to be generated (optional, default is 8 characters)
Returns
string Random string

Definition at line 814 of file DataConnector.php.

References Util\getRandomString(), and Util\logDebug().

◆ getSharesResourceLink()

getSharesResourceLink (   $resourceLink)

Get array of shares defined for this resource link.

Parameters
ResourceLink$resourceLinkResourceLink object
Returns
ResourceLinkShare[] Array of ResourceLinkShare objects

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 411 of file DataConnector.php.

◆ getToolConsumers()

getToolConsumers ( )

Load tool consumer objects.

Deprecated:
Use getPlatforms() instead
See also
DataConnector::getPlatforms()
Returns
ToolConsumer[] Array of all defined tool consumer objects

Definition at line 228 of file DataConnector.php.

References DataConnector\getPlatforms(), and Util\logDebug().

◆ getTools()

getTools ( )

Load tool objects.

Returns
Tool[] Array of all defined Tool objects

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 746 of file DataConnector.php.

◆ getUserResultSourcedIDsResourceLink()

getUserResultSourcedIDsResourceLink (   $resourceLink,
  $localOnly,
  $idScope 
)

Get array of user objects.

Obtain an array of UserResult 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.

Parameters
ResourceLink$resourceLinkResource link object
bool$localOnlyTrue if only users within the resource link are to be returned (excluding users sharing this resource link)
int | null$idScopeScope value to use for user IDs
Returns
UserResult[] Array of UserResult objects

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pdo_pgsql, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 399 of file DataConnector.php.

◆ loadAccessToken()

loadAccessToken (   $accessToken)

Load access token object.

Parameters
AccessToken$accessTokenAccess token object
Returns
bool True if the nonce object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 550 of file DataConnector.php.

◆ loadConsumerNonce()

loadConsumerNonce (   $nonce)

Load nonce object.

Deprecated:
Use loadPlatformNonce() instead
See also
DataConnector::loadPlatformNonce()
Parameters
ConsumerNonce$nonceNonce object
Returns
bool True if the nonce object was successfully loaded

Definition at line 430 of file DataConnector.php.

References DataConnector\loadPlatformNonce(), and Util\logDebug().

◆ loadContext()

loadContext (   $context)

Load context object.

Parameters
Context$contextContext object
Returns
bool True if the context object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 302 of file DataConnector.php.

◆ loadPlatform()

loadPlatform (   $platform)

Load platform object.

Parameters
Platform$platformPlatform object
Returns
bool True if the platform object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 242 of file DataConnector.php.

Referenced by DataConnector\loadToolConsumer().

◆ loadPlatformNonce()

loadPlatformNonce (   $nonce)

Load nonce object.

Parameters
PlatformNonce$nonceNonce object
Returns
bool True if the nonce object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 478 of file DataConnector.php.

Referenced by DataConnector\loadConsumerNonce().

◆ loadResourceLink()

loadResourceLink (   $resourceLink)

Load resource link object.

Parameters
ResourceLink$resourceLinkResourceLink object
Returns
bool True if the resource link object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 350 of file DataConnector.php.

◆ loadResourceLinkShareKey()

loadResourceLinkShareKey (   $shareKey)

Load resource link share key object.

Parameters
ResourceLinkShareKey$shareKeyResourceLink share key object
Returns
bool True if the resource link share key object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 614 of file DataConnector.php.

◆ loadTool()

loadTool (   $tool)

Load tool object.

Parameters
Tool$toolTool object
Returns
bool True if the tool object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 702 of file DataConnector.php.

◆ loadToolConsumer()

loadToolConsumer (   $consumer)

Load tool consumer object.

Deprecated:
Use loadPlatform() instead
See also
DataConnector::loadPlatform()
Parameters
ToolConsumer$consumerTool consumer object
Returns
bool True if the tool consumer object was successfully loaded

Definition at line 179 of file DataConnector.php.

References DataConnector\loadPlatform(), and Util\logDebug().

◆ loadUserResult()

loadUserResult (   $userresult)

Load user object.

Parameters
UserResult$userresultUserResult object
Returns
bool True if the user object was successfully loaded

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 654 of file DataConnector.php.

◆ quoted()

static quoted (   $value,
  $addQuotes = true 
)
static

Quote a string for use in a database query.

Any single quotes in the value passed will be replaced with two single quotes. If a null value is passed, a string of 'null' is returned (which will never be enclosed in quotes irrespective of the value of the $addQuotes parameter.

Parameters
string$valueValue to be quoted
bool$addQuotesIf true the returned string will be enclosed in single quotes (optional, default is true)
Returns
string The quoted string.

Definition at line 848 of file DataConnector.php.

◆ saveAccessToken()

saveAccessToken (   $accessToken)

Save access token object.

Parameters
AccessToken$accessTokenAccess token object
Returns
bool True if the access token object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 578 of file DataConnector.php.

◆ saveConsumerNonce()

saveConsumerNonce (   $nonce)

Save nonce object.

Deprecated:
Use savePlatformNonce() instead
See also
DataConnector::savePlatformNonce()
Parameters
ConsumerNonce$nonceNonce object
Returns
bool True if the nonce object was successfully saved

Definition at line 447 of file DataConnector.php.

References Util\logDebug(), and DataConnector\savePlatformNonce().

◆ saveContext()

saveContext (   $context)

Save context object.

Parameters
Context$contextContext object
Returns
bool True if the context object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 318 of file DataConnector.php.

◆ savePlatform()

savePlatform (   $platform)

Save platform object.

Parameters
Platform$platformPlatform object
Returns
bool True if the platform object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 260 of file DataConnector.php.

Referenced by DataConnector\saveToolConsumer().

◆ savePlatformNonce()

savePlatformNonce (   $nonce)

Save nonce object.

Parameters
PlatformNonce$nonceNonce object
Returns
bool True if the nonce object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 498 of file DataConnector.php.

Referenced by DataConnector\saveConsumerNonce().

◆ saveResourceLink()

saveResourceLink (   $resourceLink)

Save resource link object.

Parameters
ResourceLink$resourceLinkResourceLink object
Returns
bool True if the resource link object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 366 of file DataConnector.php.

◆ saveResourceLinkShareKey()

saveResourceLinkShareKey (   $shareKey)

Save resource link share key object.

Parameters
ResourceLinkShareKey$shareKeyResource link share key object
Returns
bool True if the resource link share key object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pdo_pgsql, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 626 of file DataConnector.php.

◆ saveTool()

saveTool (   $tool)

Save tool object.

Parameters
Tool$toolTool object
Returns
bool True if the tool object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 720 of file DataConnector.php.

◆ saveToolConsumer()

saveToolConsumer (   $consumer)

Save tool consumer object.

Deprecated:
Use savePlatform() instead
See also
DataConnector::savePlatform()
Parameters
ToolConsumer$consumerTool consumer object
Returns
bool True if the tool consumer object was successfully saved

Definition at line 196 of file DataConnector.php.

References Util\logDebug(), and DataConnector\savePlatform().

◆ saveUserResult()

saveUserResult (   $userresult)

Save user object.

Parameters
UserResult$userresultUserResult object
Returns
bool True if the user object was successfully saved

Reimplemented in DataConnector_mysql, DataConnector_mysqli, DataConnector_oci, DataConnector_pdo, DataConnector_pg, and DataConnector_sqlsrv.

Definition at line 670 of file DataConnector.php.

◆ useMemcache()

static useMemcache (   $host = null,
  $port = -1 
)
static

Set/check whether memcached should be used when available.

Parameters
string$hostName or IP address of host running memcache server (use an empty string to disable)
int$portPort number used by memcache server (use -1 for default)
Returns
bool True if memcache is enabled

Definition at line 131 of file DataConnector.php.

References Util\logError().

Field Documentation

◆ $dateFormat

string $dateFormat = 'Y-m-d'
protected

SQL date format (default = 'Y-m-d')

Definition at line 95 of file DataConnector.php.

◆ $db

◆ $dbTableNamePrefix

string $dbTableNamePrefix = ''
protected

◆ $timeFormat

string $timeFormat = 'H:i:s'
protected

SQL time format (default = 'H:i:s')

Definition at line 102 of file DataConnector.php.

◆ ACCESS_TOKEN_TABLE_NAME

const ACCESS_TOKEN_TABLE_NAME = 'lti2_access_token'

Default name for database table used to store access token values.

Definition at line 69 of file DataConnector.php.

◆ CONSUMER_TABLE_NAME

const CONSUMER_TABLE_NAME = self::PLATFORM_TABLE_NAME

Default name for database table used to store platforms.

Deprecated:
Use DataConnector::PLATFORM_TABLE_NAME instead
See also
DataConnector::PLATFORM_TABLE_NAME

Definition at line 39 of file DataConnector.php.

◆ CONTEXT_TABLE_NAME

const CONTEXT_TABLE_NAME = 'lti2_context'

Default name for database table used to store contexts.

Definition at line 44 of file DataConnector.php.

◆ NONCE_TABLE_NAME

const NONCE_TABLE_NAME = 'lti2_nonce'

Default name for database table used to store nonce values.

Definition at line 64 of file DataConnector.php.

◆ PLATFORM_TABLE_NAME

const PLATFORM_TABLE_NAME = 'lti2_consumer'

Default name for database table used to store platforms.

Definition at line 31 of file DataConnector.php.

◆ RESOURCE_LINK_SHARE_KEY_TABLE_NAME

const RESOURCE_LINK_SHARE_KEY_TABLE_NAME = 'lti2_share_key'

Default name for database table used to store resource link share keys.

Definition at line 59 of file DataConnector.php.

◆ RESOURCE_LINK_TABLE_NAME

const RESOURCE_LINK_TABLE_NAME = 'lti2_resource_link'

Default name for database table used to store resource links.

Definition at line 49 of file DataConnector.php.

◆ TOOL_TABLE_NAME

const TOOL_TABLE_NAME = 'lti2_tool'

Default name for database table used to store tools.

Definition at line 74 of file DataConnector.php.

◆ USER_RESULT_TABLE_NAME

const USER_RESULT_TABLE_NAME = 'lti2_user_result'

Default name for database table used to store users.

Definition at line 54 of file DataConnector.php.


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