definition.php 1.3 KB

1234567891011121314151617181920
  1. <?php
  2. $sloodleconfig = new SloodleObjectConfig();
  3. $sloodleconfig->primname = 'SLOODLE Scoreboard Shared Media';
  4. $sloodleconfig->group = 'activity';
  5. $sloodleconfig->collections= array('SLOODLE 2.0 Deprecated');
  6. $sloodleconfig->aliases = array('SLOODLE 1.1 Scoreboard');
  7. $sloodleconfig->notify = array('awards_points_change', 'awards_points_deletion', 'awards_points_round_change'); // If this happens on the server side, tell me about it.
  8. $sloodleconfig->field_sets = array(
  9. 'generalconfiguration' => array(
  10. //'sloodlegroupid' => new SloodleConfigurationOptionText( 'sloodlegroupid', 'awards:group', '', 0, 4 ), // feature disabled
  11. //'sloodleshowallcontrollers' => new SloodleConfigurationOptionYesNo( 'sloodleshowallcontrollers', 'awards:showallcontrollers', 0 ), //feature disabled
  12. 'sloodlerefreshtime' => new SloodleConfigurationOptionText( 'sloodlerefreshtime', 'refreshtimeseconds', '', 600, 8 ),
  13. 'sloodlecurrencyid' => new SloodleConfigurationOptionCurrencyChoice( 'sloodlecurrencyid', 'awards:currency', '', '', 0),
  14. 'sloodleobjecttitle' => new SloodleConfigurationOptionText( 'sloodleobjecttitle', 'awards:scoreboardtitle', '', 'Scoreboard', 40 ),
  15. ),
  16. 'accesslevel' => array(
  17. 'sloodleobjectaccesslevelctrl' => $sloodleconfig->access_level_object_control_option()
  18. )
  19. );
  20. ?>