Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
block_recentlyaccesseditems\helper Class Reference

Recently accessed items helper. More...

Static Public Member Functions

static get_recent_items (int $limit=0)
 Returns a list of the most recently items accessed by the logged user.
 

Detailed Description

Recently accessed items helper.

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

Member Function Documentation

◆ get_recent_items()

static block_recentlyaccesseditems\helper::get_recent_items ( int $limit = 0)
static

Returns a list of the most recently items accessed by the logged user.

Parameters
int$limitRestrict result set to this amount
Return values
arrayList of recent items accessed by userid

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