Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
repository_areafiles

Directories

directory classes
  
 

Namespaces

namespace  repository_areafiles\privacy
 Privacy Subsystem implementation for repository_areafiles.
 

Classes

class  repository_areafiles
 Main class responsible for files listing in repostiory_areafiles. More...
 
class  repository_areafiles\privacy\provider
 Privacy Subsystem for repository_areafiles implementing null_provider. More...
 

Functions

 xmldb_repository_areafiles_install ()
 Creating a default instance of areafiles repository on install.
 

Variables

 $capabilities
 
 $plugin = 2023100400
 
$plugin component = 'repository_areafiles'
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ xmldb_repository_areafiles_install()

xmldb_repository_areafiles_install ( )

Creating a default instance of areafiles repository on install.

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

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'repository/areafiles: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