Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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
 This plugin is used to access wikimedia files.
 
file  lib.php
 Wikimedia repository data generator.
 
file  provider.php
 Privacy Subsystem implementation for repository_wikimedia.
 

Namespaces

namespace  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
)
)
)
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