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

Files

file  access.php
 Plugin capabilities.
 
file  authentication_exception.php
 Dropbox Authentication exception.
 
file  cron_task.php
 A schedule task for dropbox repository cron.
 
file  dropbox.php
 Dropbox V2 API.
 
file  dropbox_exception.php
 General Dropbox Exception.
 
file  lib.php
 Dropbox repository data generator.
 
file  lib.php
 This plugin is used to access user's dropbox files.
 
file  provider.php
 Privacy Subsystem implementation for repository_dropbox.
 
file  provider_exception.php
 Upstream issue exception.
 
file  rate_limit_exception.php
 Dropbox Rate Limit Encountered.
 
file  tasks.php
 Definition of dropbox repository scheduled tasks.
 
file  version.php
 Version details.
 

Namespaces

 repository_dropbox
  
 
 repository_dropbox\privacy
  
 
 repository_dropbox\task
  
 

Classes

class  repository_dropbox
 Repository to access Dropbox files. More...
 
class  repository_dropbox\authentication_exception
 Dropbox Authentication exception. More...
 
class  repository_dropbox\dropbox
 Dropbox V2 API. More...
 
class  repository_dropbox\dropbox_exception
 General Dropbox Exception. More...
 
class  repository_dropbox\privacy\provider
 Privacy Subsystem for repository_dropbox implementing metadata and plugin providers. More...
 
class  repository_dropbox\provider_exception
 Upstream issue exception. More...
 
class  repository_dropbox\rate_limit_exception
 Dropbox Rate Limit Encountered. More...
 
class  repository_dropbox\task\cron_task
 
class  repository_dropbox_generator
 

Variables

 $capabilities
 
 $tasks
 
$plugin component = 'repository_dropbox'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'repository/dropbox:view' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
)
)
)

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => '\repository_dropbox\task\cron_task',
'blocking' => 0,
'minute' => '*',
'hour' => '*',
'day' => '*',
'month' => '*',
'dayofweek' => '*'
)
)
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