Download the PHP package oat-sa/extension-lti-test-review without Composer

On this page you can find all versions of the php package oat-sa/extension-lti-test-review. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package extension-lti-test-review

Extension ltiTestReview

Extension for reviewing passed tests, with the display of actual and correct answers, as well as the number of points for each answer.

Usage

Run composer require "oat-sa/extension-lti-test-review" for including the code to the project. Install the extension using extension manager or with CLI: php tao/scripts/installExtension.php ltiTestReview.

LTI calls

To launch the review of a specific delivery execution, use the following endpoint:

The above endpoint without execution parameter (https://YOUR_DOMAIN/ltiTestReview/ReviewTool/launch) will use the lis_result_sourcedid field from launch data to determine delivery execution.

To launch the review of the latest delivery execution for a user, use the following endpoint:

The user id should be provided in the for_user claim:

Requested for review delivery execution can be specified by resource_link_id claim (will be launched the latest delivery execution specified by user_id, delivery_id and resource_link_id)

For backwards compatibility, the following endpoint allows to select an exact delivery execution, whose id must be provided in a custom claim:

LTI options

Various modes are available to review a test. By default the simplest mode is applied, showing only the test as it was passed, with the student's responses and no score.

The following custom parameters control the mode:

parameter description
custom_show_score=1 Show the student's score.
custom_show_correct=1 Show the correct responses when the student has failed. Note: This option discloses all the correct responses, for the whole test.
custom_review_layout=simple Switch the review panel layout from default to simple variant.
custom_section_titles=0 Hide section titles in the simple review panel layout.
custom_item_tooltip=1 Show tooltip with item label in the simple review panel layout.

When you use the IMS emulator you must remove the prefix custom_.

Default values

By default the options show_score and show_correct are turned off. To turn them on by default you may change the platform configuration, in the file config/ltiTestReview/DeliveryExecutionFinderService.conf.php:

Note: This will set the default value of these options for the whole platform. If you enable them by default, you can still disable them using LTI custom parameters.

The default values for custom_review_layout and custom_section_titles and custom_item_tooltip are read from config/ltiTestReview/ReviewPanel.conf.php:

Note: This will set the default value of these options for the whole platform. If you enable them by default, you can still disable them using LTI custom parameters.


All versions of extension-lti-test-review with dependencies

PHP Build Version
Package Version
Requires oat-sa/oatbox-extension-installer Version ~1.1||dev-master
oat-sa/extension-tao-ltideliveryprovider Version >=12.0.0
oat-sa/generis Version >=15.22
oat-sa/tao-core Version >=51.2.0
oat-sa/extension-tao-delivery Version >=15.0.0
oat-sa/extension-tao-lti Version >=15.4.1
oat-sa/extension-tao-delivery-rdf Version >=14.0.0
oat-sa/extension-tao-proctoring Version >=20.0.0
oat-sa/extension-tao-testqti Version >=48.1.0
oat-sa/extension-tao-outcome Version >=13.0.0
oat-sa/extension-tao-testqti-previewer Version >=3.0.0
oat-sa/extension-tao-outcomeui Version >=11.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oat-sa/extension-lti-test-review contains the following files

Loading the files please wait ....