PHP code example of oat-sa / extension-tao-testqti

1. Go to this page and download the library: Download oat-sa/extension-tao-testqti library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

oat-sa / extension-tao-testqti example snippets


oat\taoQtiTest\models\event\ResultItemVariablesTransmissionEvent::class
oat\taoQtiTest\models\event\ResultTestVariablesTransmissionEvent::class


/**
 * Default config header created during install
 */

return new oat\taoQtiTest\models\classes\eventHandler\ResultTransmissionEventHandler\AsynchronousResultTransmissionEventHandler();
bash
php index.php 'oat\taoQtiTest\scripts\tools\ResultVariableTransmissionEvenHandlerSwitcher' --class 'oat\taoQtiTest\models\classes\eventHandler\ResultTransmissionEventHandler\AsynchronousResultTransmissionEventHandler'