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

Namespaces

namespace  repository_url\privacy
  
 

Classes

class  repository_url
 repository_url class A subclass of repository, which is used to download a file from a specific url More...
 
class  repository_url\privacy\provider
 Privacy Subsystem for repository_url implementing null_provider. More...
 
class  repository_url_generator
 URL repository data generator class. More...
 

Functions

 xmldb_repository_url_install ()
 Create a default instance of the URL repository.
 

Variables

 $capabilities
 

Detailed Description

Function Documentation

◆ xmldb_repository_url_install()

xmldb_repository_url_install ( )

Create a default instance of the URL 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/url: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