Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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
 Wikimedia repository data generator class. More...
 

Functions

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

Variables

 $capabilities
 

Detailed Description

Function Documentation

◆ xmldb_repository_wikimedia_install()

xmldb_repository_wikimedia_install ( )

Create a default instance of the wikimedia repository.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
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