Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
repository_upload

Namespaces

namespace  repository_upload\privacy
  
 

Classes

class  behat_repository_upload
 Steps definitions to deal with the upload repository. More...
 
class  repository_upload
 A repository plugin to allow user uploading files. More...
 
class  repository_upload\privacy\provider
 Privacy Subsystem for repository_upload implementing null_provider. More...
 
class  repository_upload_generator
 Upload repository data generator class. More...
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

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