Mobidico.php 872 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. }