This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class A | |
{ | |
public static function m() | |
{ | |
var_dump(1); | |
} | |
} | |
$inst = new A(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function endExpiredTests() | |
{ | |
$started = \taoDelivery_models_classes_DeliveryServerService::singleton()->getResumableDeliveries(); | |
$resultServer = \taoResultServer_models_classes_ResultServerStateFull::singleton(); | |
foreach ($started as $deliveryExecution) { | |
$compiledDelivery = $deliveryExecution->getDelivery(); | |
$runtime = \taoDelivery_models_classes_DeliveryAssemblyService::singleton()->getRuntime($compiledDelivery); | |
$inputParameters = \tao_models_classes_service_ServiceCallHelper::getInputValues($runtime, array()); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qtiElement1 = apipItem.getQtiElementBySerial('p1'); | |
qtiElement2 = apipItem.getQtiElementBySerial('p2'); | |
accessElement = new AccessElement(); | |
accessElement.addQtiElement(qtiElement1); //add <apip:contentLinkInfo qtiLinkIdentifierRef="p1"> element | |
accessElement.addQtiElement(qtiElement2); //add <apip:contentLinkInfo qtiLinkIdentifierRef="p2"> element | |
//accessElement.removeQtiElement(qtiElement1); //remove <apip:contentLinkInfo qtiLinkIdentifierRef="choice1"> |