| 1234567891011121314151617181920212223 |
- <?php
- $sloodleconfig = new SloodleObjectConfig();
- $sloodleconfig->primname = 'Hexagon Rezzer';
- $sloodleconfig->module = 'quiz';
- $sloodleconfig->module_choice_message = 'selectquiz';// TODO: There's some extra craziness to make sure we only have sloodle stuff
- $sloodleconfig->module_no_choices_message = 'noquizzes';
- $sloodleconfig->group = 'activity';
- $sloodleconfig->collections= array('Avatar Classroom 2.0 Gaming B');
- $sloodleconfig->field_sets = array(
- 'generalconfiguration' => array( //TODO: Check defaults
- 'sloodlerepeat' => new SloodleConfigurationOptionYesNo( 'sloodlerepeat', 'repeatquiz', null, 0 ),
- 'sloodlerandomize' => new SloodleConfigurationOptionYesNo( 'sloodlerandomize', 'randomquestionorder', null, 1 ),
- 'sloodleplaysound' => new SloodleConfigurationOptionYesNo( 'sloodleplaysound', 'playsounds', null, 0 ),
- 'questiontimelimit' => new SloodleConfigurationOptionText( 'questiontimelimit', 'quiz:questiontimelimit', '', '30', 3)
- ),
- 'accesslevel' => array(
- 'sloodleobjectaccessleveluse' => $sloodleconfig->access_level_object_use_option(),
- 'sloodleserveraccesslevel' => $sloodleconfig->access_level_server_option(),
- ),
- //'awards' => array_merge( $sloodleconfig->awards_require_options(), $sloodleconfig->awards_deposit_options( array( 'answerquestion' => 'awards:answerquestionaward' ) ) )
- 'awards' => $sloodleconfig->awards_deposit_options( array( 'answerquestion' => 'awards:answerquestionaward' ) )
- );
- ?>
|