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

Files

file  access.php
 Plugin capabilities.
 
file  lib.php
 Box.net repository data generator.
 
file  lib.php
 This plugin is used to access box.net repository.
 
file  locallib.php
 Box.net locallib.
 
file  provider.php
 Privacy Subsystem implementation for repository_boxnet.
 
file  upgrade.php
 Upgrade.
 

Namespaces

 repository_boxnet\privacy
  
 

Classes

class  repository_boxnet
 repository_boxnet class implements box.net client More...
 
class  repository_boxnet\privacy\provider
 Privacy Subsystem for repository_boxnet implementing metadata and plugin providers. More...
 
class  repository_boxnet_generator
 

Functions

 xmldb_repository_boxnet_upgrade ($oldversion)
 Upgrade function. More...
 

Variables

 $capabilities
 

Detailed Description

Function Documentation

◆ xmldb_repository_boxnet_upgrade()

xmldb_repository_boxnet_upgrade (   $oldversion)

Upgrade function.

Parameters
int$oldversionthe version we are upgrading from.
Return values
boolresult

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'repository/boxnet:view' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => 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