Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
core_calendar\local\event\strategies\raw_event_retrieval_strategy_interface Interface Reference

Interface for an raw event retrival strategy class. More...

Inheritance diagram for core_calendar\local\event\strategies\raw_event_retrieval_strategy_interface:
core_calendar\local\event\strategies\raw_event_retrieval_strategy

Public Member Functions

 get_raw_events (array $usersfilter=null, array $groupsfilter=null, array $coursesfilter=null, array $categoriesfilter=null, array $whereconditions=null, array $whereparams=null, $ordersql=null, $offset=null, $limitnum=40, $ignorehidden=true)
 Retrieve raw calendar event records from the DB. More...
 

Detailed Description

Interface for an raw event retrival strategy class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_raw_events()

core_calendar\local\event\strategies\raw_event_retrieval_strategy_interface::get_raw_events ( array  $usersfilter = null,
array  $groupsfilter = null,
array  $coursesfilter = null,
array  $categoriesfilter = null,
array  $whereconditions = null,
array  $whereparams = null,
  $ordersql = null,
  $offset = null,
  $limitnum = 40,
  $ignorehidden = true 
)

Retrieve raw calendar event records from the DB.

Parameters
array | null$usersfilterArray of users to retrieve events for.
array | null$groupsfilterArray of groups to retrieve events for.
array | null$coursesfilterArray of courses to retrieve events for.
array | null$categoriesfilterArray of categories to retrieve events for.
array | null$whereconditionsArray of where conditions to restrict results.
array | null$whereparamsArray of parameters for $whereconditions.
string | null$ordersqlSQL to order results.
int | null$offsetAmount to offset results by.
int$limitnumReturn at most this many results.
bool$ignorehiddenTrue to ignore hidden events. False to include them.
Return values
stdClass[]Array of event records.

Implemented in core_calendar\local\event\strategies\raw_event_retrieval_strategy.


The documentation for this interface was generated from the following file: