NoSearchIndex.php 589 B

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