Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: