Mobidico.php 869 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * Class Mobidico
  4. */
  5. class Mobidico extends Plugin
  6. {
  7. public $isCoursePlugin = true;
  8. // When creating a new course this settings are added to the course
  9. public $course_settings = [];
  10. /**
  11. * Constructor.
  12. */
  13. protected function __construct()
  14. {
  15. parent::__construct(
  16. 'O.1',
  17. 'Julio Montoya',
  18. [
  19. 'tool_enable' => 'boolean',
  20. 'api_key' => 'text',
  21. 'mobidico_url' => 'text'
  22. ]
  23. );
  24. }
  25. /**
  26. * @return Mobidico|null
  27. */
  28. public static function create()
  29. {
  30. static $result = null;
  31. return $result ? $result : $result = new self();
  32. }
  33. /**
  34. * Install
  35. */
  36. public function install()
  37. {
  38. }
  39. /**
  40. * Uninstall
  41. */
  42. public function uninstall()
  43. {
  44. }
  45. }