ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (string $client, string $token, ?bool $plugin=false) | |
setRequestParams (Request $request) | |
token () | |
client () | |
lrsType () | |
replacedValues () | |
specificAllowedStatements () | |
blockSubStatements () | |
cmdParts () | |
method () | |
getDefaultLrsEndpoint () | |
getDefaultLrsKey () | |
getDefaultLrsSecret () | |
getFallbackLrsEndpoint () | |
getFallbackLrsKey () | |
getFallbackLrsSecret () | |
setXapiProxyRequest (XapiProxyRequest $xapiProxyRequest) | |
getXapiProxyRequest () | |
setXapiProxyResponse (XapiProxyResponse $xapiProxyResponse) | |
getXapiProxyResponse () | |
processStatements (\Psr\Http\Message\RequestInterface $request, $body) | |
modifyBody (string $body) | |
![]() | |
__construct (string $client, string $token, ?bool $plugin=false) | |
log () | |
msg (string $msg) | |
initLrs () | |
Private Member Functions | |
handleStatementEvaluation (object $xapiStatement) | |
setValue (object &$obj, string $path, string $value) | |
setStatus (object $obj) | |
isSubStatementCheck (object $obj) | |
Private Attributes | |
XapiProxyRequest | $xapiProxyRequest |
XapiProxyResponse | $xapiProxyResponse |
Additional Inherited Members | |
![]() | |
const | PARTS_REG = '/^(.*?xapiproxy\.php)(\/([^?]+)?\??(.*))/' |
const | TERMINATED_VERB = "http://adlnet.gov/expapi/verbs/terminated" |
![]() | |
string | $client |
string | $token |
bool | $plugin = false |
string | $table_prefix |
ilCmiXapiLrsType | $lrsType = null |
ilCmiXapiAuthToken | $authToken = null |
int | $objId = null |
array | $specificAllowedStatements = null |
array | $replacedValues = null |
bool | $blockSubStatements = false |
array | $cmdParts = [] |
string | $method |
string | $defaultLrsEndpoint = '' |
string | $defaultLrsKey = '' |
string | $defaultLrsSecret = '' |
string | $fallbackLrsEndpoint = '' |
string | $fallbackLrsKey = '' |
string | $fallbackLrsSecret = '' |
array | $sniffVerbs |
Definition at line 25 of file XapiProxy.php.
XapiProxy\XapiProxy::__construct | ( | string | $client, |
string | $token, | ||
?bool | $plugin = false |
||
) |
Reimplemented from XapiProxy\XapiProxyPolyFill.
Definition at line 30 of file XapiProxy.php.
References $client, XapiProxy\$plugin, $token, and ILIAS\GlobalScreen\Provider\__construct().
XapiProxy\XapiProxy::blockSubStatements | ( | ) |
Definition at line 66 of file XapiProxy.php.
XapiProxy\XapiProxy::client | ( | ) |
Definition at line 46 of file XapiProxy.php.
References $client.
XapiProxy\XapiProxy::cmdParts | ( | ) |
XapiProxy\XapiProxy::getDefaultLrsEndpoint | ( | ) |
Definition at line 84 of file XapiProxy.php.
XapiProxy\XapiProxy::getDefaultLrsKey | ( | ) |
Definition at line 89 of file XapiProxy.php.
XapiProxy\XapiProxy::getDefaultLrsSecret | ( | ) |
Definition at line 94 of file XapiProxy.php.
XapiProxy\XapiProxy::getFallbackLrsEndpoint | ( | ) |
Definition at line 99 of file XapiProxy.php.
XapiProxy\XapiProxy::getFallbackLrsKey | ( | ) |
Definition at line 104 of file XapiProxy.php.
XapiProxy\XapiProxy::getFallbackLrsSecret | ( | ) |
Definition at line 109 of file XapiProxy.php.
XapiProxy\XapiProxy::getXapiProxyRequest | ( | ) |
Definition at line 119 of file XapiProxy.php.
XapiProxy\XapiProxy::getXapiProxyResponse | ( | ) |
Definition at line 129 of file XapiProxy.php.
|
private |
Definition at line 230 of file XapiProxy.php.
References $DIC, ilLPStatusWrapper\_updateStatus(), ANONYMOUS_USER_ID, ilObjectFactory\getInstanceByObjId(), and ilObjCmiXapi\LAUNCH_MODE_NORMAL.
|
private |
Definition at line 293 of file XapiProxy.php.
References ilObjectFactory\getInstanceByObjId().
XapiProxy\XapiProxy::lrsType | ( | ) |
Definition at line 51 of file XapiProxy.php.
XapiProxy\XapiProxy::method | ( | ) |
Definition at line 79 of file XapiProxy.php.
XapiProxy\XapiProxy::modifyBody | ( | string | $body | ) |
Definition at line 197 of file XapiProxy.php.
XapiProxy\XapiProxy::processStatements | ( | \Psr\Http\Message\RequestInterface | $request, |
$body | |||
) |
Definition at line 134 of file XapiProxy.php.
XapiProxy\XapiProxy::replacedValues | ( | ) |
Definition at line 56 of file XapiProxy.php.
XapiProxy\XapiProxy::setRequestParams | ( | Request | $request | ) |
Definition at line 36 of file XapiProxy.php.
|
private |
Definition at line 272 of file XapiProxy.php.
|
private |
Definition at line 258 of file XapiProxy.php.
References $path.
XapiProxy\XapiProxy::setXapiProxyRequest | ( | XapiProxyRequest | $xapiProxyRequest | ) |
Definition at line 114 of file XapiProxy.php.
XapiProxy\XapiProxy::setXapiProxyResponse | ( | XapiProxyResponse | $xapiProxyResponse | ) |
Definition at line 124 of file XapiProxy.php.
XapiProxy\XapiProxy::specificAllowedStatements | ( | ) |
Definition at line 61 of file XapiProxy.php.
XapiProxy\XapiProxy::token | ( | ) |
Definition at line 41 of file XapiProxy.php.
References $token.
|
private |
Definition at line 27 of file XapiProxy.php.
|
private |
Definition at line 28 of file XapiProxy.php.