Actualización
This commit is contained in:
25
plugin/ims_lti/src/ImsLtiServiceReplaceResponse.php
Normal file
25
plugin/ims_lti/src/ImsLtiServiceReplaceResponse.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
/**
|
||||
* Class ImsLtiReplaceServiceResponse.
|
||||
*/
|
||||
class ImsLtiServiceReplaceResponse extends ImsLtiServiceResponse
|
||||
{
|
||||
/**
|
||||
* ImsLtiServiceReplaceResponse constructor.
|
||||
*
|
||||
* @param mixed|null $bodyParam
|
||||
*/
|
||||
public function __construct(ImsLtiServiceResponseStatus $statusInfo, $bodyParam = null)
|
||||
{
|
||||
$statusInfo->setOperationRefIdentifier('replaceResult');
|
||||
|
||||
parent::__construct($statusInfo, $bodyParam);
|
||||
}
|
||||
|
||||
protected function generateBody(SimpleXMLElement $xmlBody)
|
||||
{
|
||||
$xmlBody->addChild('replaceResultResponse');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user