search_course_plugin.class.php 640 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Description of SearchCoursePlugin
  4. *
  5. * @copyright (c) 2012 University of Geneva
  6. * @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html
  7. * @author Laurent Opprecht <laurent@opprecht.info>
  8. */
  9. class SearchCoursePlugin extends Plugin
  10. {
  11. /**
  12. *
  13. * @return SearchCoursePlugin
  14. */
  15. static function create()
  16. {
  17. static $result = null;
  18. return $result ? $result : $result = new self();
  19. }
  20. function get_name()
  21. {
  22. return 'search_course';
  23. }
  24. protected function __construct()
  25. {
  26. parent::__construct('1.1', 'Laurent Opprecht');
  27. }
  28. }