Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Variables
repository_coursefiles

Files

file  access.php
 Plugin capabilities.
 
file  lib.php
 Course files repository data generator.
 
file  lib.php
 This plugin is used to access coursefiles repository.
 
file  provider.php
 Privacy Subsystem implementation for repository_coursefiles.
 

Namespaces

 repository_coursefiles\privacy
  
 

Classes

class  repository_coursefiles
 repository_coursefiles class is used to browse course files More...
 
class  repository_coursefiles\privacy\provider
 Privacy Subsystem for repository_coursefiles implementing null_provider. More...
 
class  repository_coursefiles_generator
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

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