*/ class SearchCoursePlugin extends Plugin { protected function __construct() { parent::__construct('1.1', 'Laurent Opprecht'); } /** * @return SearchCoursePlugin */ public static function create() { static $result = null; return $result ? $result : $result = new self(); } public function get_name() { return 'search_course'; } }