Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Variables
repository_recent

Files

file  access.php
 Plugin capabilities.
 
file  lib.php
 This plugin is used to access recent used files.
 
file  lib.php
 Recent repository data generator.
 
file  provider.php
 Privacy Subsystem implementation for repository_recent.
 

Namespaces

namespace  repository_recent\privacy
  
 

Classes

class  repository_recent
 
class  repository_recent\privacy\provider
 Privacy Subsystem for repository_recent implementing null_provider. More...
 
class  repository_recent_generator
 

Variables

 $capabilities
 
const DEFAULT_RECENT_FILES_NUM 50
 repository_recent class is used to browse recent used files More...
 
const DEFAULT_RECENT_FILES_TIME_LIMIT 6 * 4 * WEEKSECS
 DEFAULT_RECENT_FILES_TIME_LIMIT - default time limit.
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'repository/recent:view' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
)
)
)
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition: accesslib.php:130

◆ DEFAULT_RECENT_FILES_NUM

const DEFAULT_RECENT_FILES_NUM 50

repository_recent class is used to browse recent used files

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