| 
|   | __construct ($search, $perm_level='dozent', $parameters=array()) | 
|   | 
|   | getTitle () | 
|   | 
|   | getResults ($input, $contextual_data=array(), $limit=PHP_INT_MAX, $offset=0) | 
|   | 
|   | includePath () | 
|   | 
  Public Member Functions inherited from StandardSearch | 
|   | __construct ($search) | 
|   | 
|   | getTitle () | 
|   | 
|   | includePath () | 
|   | 
|   | __construct ($query, $title="", $avatarLike="") | 
|   | 
|   | getTitle () | 
|   | 
|   | getAvatar ($id) | 
|   | 
|   | getAvatarImageTag ($id, $size=Avatar::SMALL, $options=array()) | 
|   | 
|   | getResults ($input, $contextual_data=array(), $limit=PHP_INT_MAX, $offset=0) | 
|   | 
|   | includePath () | 
|   | 
|   | getTitle () | 
|   | 
|   | getAvatar ($id) | 
|   | 
|   | getAvatarImageTag ($id) | 
|   | 
|   | getResults ($keyword, $contextual_data=array(), $limit=PHP_INT_MAX, $offset=0) | 
|   | 
|   | includePath () | 
|   | 
 | 
| static  | get ($search, $perm_level='dozent', $parameters=array()) | 
|   | 
  Static Public Member Functions inherited from StandardSearch | 
| static  | get ($search) | 
|   | 
| static  | get ($query, $title="", $avatarLike="") | 
|   | 
◆ __construct()
      
        
          | __construct  | 
          ( | 
            | 
          $search,  | 
        
        
           | 
           | 
            | 
          $perm_level = 'dozent',  | 
        
        
           | 
           | 
            | 
          $parameters = array()  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | string | $search |  | 
    | string | $perm_level |  | 
  
   
- Returns
 - void 
 
Reimplemented from SQLSearch.
 
 
◆ get()
  
  
      
        
          | static get  | 
          ( | 
            | 
          $search,  | 
         
        
           | 
           | 
            | 
          $perm_level = 'dozent',  | 
         
        
           | 
           | 
            | 
          $parameters = array()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
returns an object of type SQLSearch with parameters to constructor
- Parameters
 - 
  
    | string | $search |  | 
    | string | $perm_level |  | 
  
   
- Returns
 - SQLSearch 
 
Reimplemented from SQLSearch.
 
 
◆ getResults()
      
        
          | getResults  | 
          ( | 
            | 
          $input,  | 
        
        
           | 
           | 
            | 
          $contextual_data = array(),  | 
        
        
           | 
           | 
            | 
          $limit = PHP_INT_MAX,  | 
        
        
           | 
           | 
            | 
          $offset = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
returns the results of a search Use the contextual_data variable to send more variables than just the input to the SQL. QuickSearch for example sends all other variables of the same <form>-tag here. 
- Parameters
 - 
  
    | input | string: the search-word(s)  | 
    | contextual_data | array: an associative array with more variables  | 
    | limit | int: maximum number of results (default: all)  | 
    | offset | int: return results starting from this row (default: 0)  | 
  
   
- Returns
 - array: array(array(), ...) 
 
Reimplemented from SQLSearch.
 
 
◆ getTitle()
returns the title/description of the searchfield
- Returns
 - string title/description 
 
Reimplemented from StandardSearch.
 
 
◆ includePath()
A very simple overwrite of the same method from SearchType class. returns the absolute path to this class for autoincluding this class.
- Returns
 - : path to this class 
 
Reimplemented from StandardSearch.
 
 
◆ $search
The documentation for this class was generated from the following file: