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

Files

file  access.php
 Plugin capabilities.
 
file  install.php
 Installation file for the wikimedia repository.
 
file  lib.php
 Wikimedia repository data generator.
 
file  lib.php
 This plugin is used to access wikimedia files.
 
file  provider.php
 Privacy Subsystem implementation for repository_wikimedia.
 

Namespaces

 repository_wikimedia\privacy
  
 

Classes

class  repository_wikimedia
 repository_wikimedia class This is a class used to browse images from wikimedia More...
 
class  repository_wikimedia\privacy\provider
 Privacy Subsystem for repository_wikimedia implementing metadata and plugin providers. More...
 
class  repository_wikimedia_generator
 

Functions

 xmldb_repository_wikimedia_install ()
 Create a default instance of the wikimedia repository. More...
 

Variables

 $capabilities
 

Detailed Description

Function Documentation

◆ xmldb_repository_wikimedia_install()

xmldb_repository_wikimedia_install ( )

Create a default instance of the wikimedia repository.

Return values
boolA status indicating success or failure

Variable Documentation

◆ $capabilities

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