Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

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: 261 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