Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
repository_flickr

Files

file  access.php
 Plugin capabilities.
 
file  lib.php
 This plugin is used to access flickr pictures.
 
file  lib.php
 Flickr repository data generator.
 
file  provider.php
 Privacy Subsystem implementation for repository_flickr.
 
file  upgrade.php
 Plugin upgrade steps are defined here.
 

Namespaces

namespace  repository_flickr\privacy
  
 

Classes

class  repository_flickr
 This plugin is used to access user's private flickr repository. More...
 
class  repository_flickr\privacy\provider
 Privacy Subsystem for repository_flickr implementing metadata, plugin, and user_preference providers. More...
 
class  repository_flickr_generator
 

Functions

 xmldb_repository_flickr_upgrade ($oldversion)
 Execute repository_flickr upgrade from the given old version. More...
 

Variables

 $capabilities
 

Detailed Description

Function Documentation

◆ xmldb_repository_flickr_upgrade()

xmldb_repository_flickr_upgrade (   $oldversion)

Execute repository_flickr upgrade from the given old version.

Parameters
int$oldversion
Return values
bool

Variable Documentation

◆ $capabilities

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