NoSearchIndex.php 589 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Class NoSearchIndex.
  5. */
  6. class NoSearchIndex extends Plugin
  7. {
  8. public $addCourseTool = false;
  9. /**
  10. * NoSearchIndex constructor.
  11. */
  12. public function __construct()
  13. {
  14. parent::__construct(
  15. '0.1',
  16. 'Julio Montoya',
  17. [
  18. 'tool_enable' => 'boolean',
  19. ]
  20. );
  21. }
  22. /**
  23. * @return $this
  24. */
  25. public static function create()
  26. {
  27. static $result = null;
  28. return $result ? $result : $result = new self();
  29. }
  30. }