Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
repository_flickr

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
 Flickr repository data generator class. More...
 

Functions

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

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