Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

Big search form.

Copyright: 2016 Frédéric Massart - FMCorz.net
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 263 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

big_search_form:: (13 methods):
  __construct()
  set_datefrom()
  set_dateto()
  set_fullwords()
  set_notwords()
  set_phrase()
  set_subject()
  set_user()
  set_words()
  set_tags()
  set_starredonly()
  set_forumid()
  export_for_template()


Class: big_search_form  - X-Ref

Big search form class.

__construct($course)   X-Ref
Constructor.

param: object $course The course.
param: object $user The user.

set_datefrom($value)   X-Ref
Set date from.

param: mixed $value Date from.

set_dateto($value)   X-Ref
Set date to.

param: mixed $value Date to.

set_fullwords($value)   X-Ref
Set full words.

param: mixed $value Full words.

set_notwords($value)   X-Ref
Set not words.

param: mixed $value Not words.

set_phrase($value)   X-Ref
Set phrase.

param: mixed $value Phrase.

set_subject($value)   X-Ref
Set subject.

param: mixed $value Subject.

set_user($value)   X-Ref
Set user.

param: mixed $value User.

set_words($value)   X-Ref
Set words.

param: mixed $value Words.

set_tags($value)   X-Ref
Set tags.

param: mixed $value Tags.

set_starredonly($value)   X-Ref
Set starred only value.

param: mixed $value Bool.

set_forumid($forumid)   X-Ref
Forum ID setter search criteria.

param: int $forumid The forum ID.

export_for_template(renderer_base $output)   X-Ref
No description