Big search form class.  
 More...
|  | 
| string | $actionurl | 
|  | The URL of the search form. 
 | 
|  | 
|  | $course | 
|  | 
|  | $datefrom | 
|  | 
|  | $dateto | 
|  | 
| int | $forumid | 
|  | forum ID. 
 | 
|  | 
|  | $forumoptions | 
|  | 
|  | $fullwords | 
|  | 
| bool | $guestuser | 
|  | Is the user a guest user? 
 | 
|  | 
|  | $notwords | 
|  | 
|  | $phrase | 
|  | 
|  | $showfullwords | 
|  | 
| bool | $starredonly | 
|  | Whether the include starredonly checkbox is checked. 
 | 
|  | 
|  | $subject | 
|  | 
|  | $tags | 
|  | 
|  | $user | 
|  | 
|  | $words | 
|  | 
Big search form class. 
- Copyright
- 2016 Frédéric Massart - FMCorz.net 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ __construct()
      
        
          | mod_forum\output\big_search_form::__construct | ( |  | $course | ) |  | 
      
 
Constructor. 
- Parameters
- 
  
    | object | $course | The course. |  | object | $user | The user. |  
 
 
 
◆ export_for_template()
      
        
          | mod_forum\output\big_search_form::export_for_template | ( | renderer_base | $output | ) |  | 
      
 
Function to export the renderer data in a format that is suitable for a mustache template. 
This means:
- No complex types - only stdClass, array, int, string, float, bool
- Any additional info that is required for the template is pre-calculated (e.g. capability checks).
- Parameters
- 
  
    | renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |  
 
- Return values
- 
  
  
Implements templatable.
 
 
◆ set_datefrom()
      
        
          | mod_forum\output\big_search_form::set_datefrom | ( |  | $value | ) |  | 
      
 
Set date from. 
- Parameters
- 
  
  
 
 
◆ set_dateto()
      
        
          | mod_forum\output\big_search_form::set_dateto | ( |  | $value | ) |  | 
      
 
 
◆ set_forumid()
      
        
          | mod_forum\output\big_search_form::set_forumid | ( |  | $forumid | ) |  | 
      
 
Forum ID setter search criteria. 
- Parameters
- 
  
  
 
 
◆ set_fullwords()
      
        
          | mod_forum\output\big_search_form::set_fullwords | ( |  | $value | ) |  | 
      
 
Set full words. 
- Parameters
- 
  
  
 
 
◆ set_notwords()
      
        
          | mod_forum\output\big_search_form::set_notwords | ( |  | $value | ) |  | 
      
 
Set not words. 
- Parameters
- 
  
  
 
 
◆ set_phrase()
      
        
          | mod_forum\output\big_search_form::set_phrase | ( |  | $value | ) |  | 
      
 
 
◆ set_starredonly()
      
        
          | mod_forum\output\big_search_form::set_starredonly | ( |  | $value | ) |  | 
      
 
Set starred only value. 
- Parameters
- 
  
  
 
 
◆ set_subject()
      
        
          | mod_forum\output\big_search_form::set_subject | ( |  | $value | ) |  | 
      
 
 
◆ set_tags()
      
        
          | mod_forum\output\big_search_form::set_tags | ( |  | $value | ) |  | 
      
 
 
◆ set_user()
      
        
          | mod_forum\output\big_search_form::set_user | ( |  | $value | ) |  | 
      
 
 
◆ set_words()
      
        
          | mod_forum\output\big_search_form::set_words | ( |  | $value | ) |  | 
      
 
 
The documentation for this class was generated from the following file: