|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class to represent an LTI Tool Proxy. More...
Collaboration diagram for IMSGlobal\LTI\ToolProvider\ToolProxy:Public Member Functions | |
| __construct ($dataConnector, $id=null) | |
| Class constructor. More... | |
| initialize () | |
| Initialise the tool proxy. More... | |
| initialise () | |
| Initialise the tool proxy. More... | |
| getRecordId () | |
| Get the tool proxy record ID. More... | |
| setRecordId ($recordId) | |
| Sets the tool proxy record ID. More... | |
| getConsumer () | |
| Get tool consumer. More... | |
| setConsumerId ($consumerId) | |
| Set tool consumer ID. More... | |
| getDataConnector () | |
| Get the data connector. More... | |
Data Fields | |
| $id = null | |
| Local id of tool consumer. More... | |
Private Member Functions | |
| load ($id) | |
| Load the tool proxy from the database. More... | |
Private Attributes | |
| $consumer = null | |
| Tool Consumer for this tool proxy. More... | |
| $consumerId = null | |
| Tool Consumer ID for this tool proxy. More... | |
| $recordId = null | |
| $dataConnector = null | |
| Data connector object. More... | |
| $toolProxy = null | |
| Tool Proxy document. More... | |
Class to represent an LTI Tool Proxy.
Definition at line 17 of file ToolProxy.php.
| IMSGlobal\LTI\ToolProvider\ToolProxy::__construct | ( | $dataConnector, | |
$id = null |
|||
| ) |
Class constructor.
| DataConnector | $dataConnector | Data connector |
| string | $id | Tool Proxy ID (optional, default is null) |
Definition at line 64 of file ToolProxy.php.
References IMSGlobal\LTI\ToolProvider\ToolProxy\$dataConnector, $id, IMSGlobal\LTI\ToolProvider\DataConnector\DataConnector\getRandomString(), IMSGlobal\LTI\ToolProvider\ToolProxy\initialize(), and IMSGlobal\LTI\ToolProvider\ToolProxy\load().
Here is the call graph for this function:| IMSGlobal\LTI\ToolProvider\ToolProxy::getConsumer | ( | ) |
Get tool consumer.
Definition at line 132 of file ToolProxy.php.
References $consumer, IMSGlobal\LTI\ToolProvider\ToolConsumer\fromRecordId(), and IMSGlobal\LTI\ToolProvider\ToolProxy\getDataConnector().
Here is the call graph for this function:| IMSGlobal\LTI\ToolProvider\ToolProxy::getDataConnector | ( | ) |
Get the data connector.
Definition at line 161 of file ToolProxy.php.
Referenced by IMSGlobal\LTI\ToolProvider\ToolProxy\getConsumer().
Here is the caller graph for this function:| IMSGlobal\LTI\ToolProvider\ToolProxy::getRecordId | ( | ) |
Get the tool proxy record ID.
Definition at line 108 of file ToolProxy.php.
| IMSGlobal\LTI\ToolProvider\ToolProxy::initialise | ( | ) |
Initialise the tool proxy.
Pseudonym for initialize().
Definition at line 96 of file ToolProxy.php.
References IMSGlobal\LTI\ToolProvider\ToolProxy\initialize().
Here is the call graph for this function:| IMSGlobal\LTI\ToolProvider\ToolProxy::initialize | ( | ) |
Initialise the tool proxy.
Definition at line 80 of file ToolProxy.php.
Referenced by IMSGlobal\LTI\ToolProvider\ToolProxy\__construct(), IMSGlobal\LTI\ToolProvider\ToolProxy\initialise(), and IMSGlobal\LTI\ToolProvider\ToolProxy\load().
Here is the caller graph for this function:
|
private |
Load the tool proxy from the database.
| string | $id | The tool proxy id value |
Definition at line 180 of file ToolProxy.php.
References $id, $ok, and IMSGlobal\LTI\ToolProvider\ToolProxy\initialize().
Referenced by IMSGlobal\LTI\ToolProvider\ToolProxy\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| IMSGlobal\LTI\ToolProvider\ToolProxy::setConsumerId | ( | $consumerId | ) |
Set tool consumer ID.
| int | $consumerId | Tool Consumer ID for this resource link. |
Definition at line 148 of file ToolProxy.php.
References IMSGlobal\LTI\ToolProvider\ToolProxy\$consumerId.
| IMSGlobal\LTI\ToolProvider\ToolProxy::setRecordId | ( | $recordId | ) |
Sets the tool proxy record ID.
| int | $recordId | Tool Proxy record ID value |
Definition at line 120 of file ToolProxy.php.
References IMSGlobal\LTI\ToolProvider\ToolProxy\$recordId.
|
private |
Tool Consumer for this tool proxy.
Definition at line 32 of file ToolProxy.php.
|
private |
Tool Consumer ID for this tool proxy.
Definition at line 38 of file ToolProxy.php.
Referenced by IMSGlobal\LTI\ToolProvider\ToolProxy\setConsumerId().
|
private |
Data connector object.
Definition at line 50 of file ToolProxy.php.
Referenced by IMSGlobal\LTI\ToolProvider\ToolProxy\__construct().
| int IMSGlobal\LTI\ToolProvider\ToolProxy::$id = null |
|
private |
Definition at line 44 of file ToolProxy.php.
Referenced by IMSGlobal\LTI\ToolProvider\ToolProxy\setRecordId().
|
private |
Tool Proxy document.
Definition at line 56 of file ToolProxy.php.