Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Interface for an raw event retrival strategy class. More...
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... | |
Interface for an raw event retrival strategy class.
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.
array | null | $usersfilter | Array of users to retrieve events for. |
array | null | $groupsfilter | Array of groups to retrieve events for. |
array | null | $coursesfilter | Array of courses to retrieve events for. |
array | null | $categoriesfilter | Array of categories to retrieve events for. |
array | null | $whereconditions | Array of where conditions to restrict results. |
array | null | $whereparams | Array of parameters for $whereconditions. |
string | null | $ordersql | SQL to order results. |
int | null | $offset | Amount to offset results by. |
int | $limitnum | Return at most this many results. |
bool | $ignorehidden | True to ignore hidden events. False to include them. |
stdClass[] | Array of event records. |
Implemented in core_calendar\local\event\strategies\raw_event_retrieval_strategy.