You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							31 lines
						
					
					
						
							643 B
						
					
					
				
			
		
		
	
	
							31 lines
						
					
					
						
							643 B
						
					
					
				<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * Description of SearchCoursePlugin.
 | 
						|
 *
 | 
						|
 * @copyright (c) 2012 University of Geneva
 | 
						|
 * @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html
 | 
						|
 * @author Laurent Opprecht <laurent@opprecht.info>
 | 
						|
 */
 | 
						|
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';
 | 
						|
    }
 | 
						|
}
 | 
						|
 |