Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
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. More...
 

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: