Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_uploaduser

Namespaces

namespace  tool_uploaduser
  
 
namespace  tool_uploaduser\local
  
 
namespace  tool_uploaduser\privacy
  
 

Classes

class  tool_uploaduser\cli_helper
 Helper method for CLI script to upload users (also has special wrappers for cli* functions for phpunit testing) More...
 
class  tool_uploaduser\local\cli_progress_tracker
 Tracks the progress of the user upload and outputs it in CLI script (writes to STDOUT) More...
 
class  tool_uploaduser\local\field_value_validators
 Field validator class. More...
 
class  tool_uploaduser\local\text_progress_tracker
 Tracks the progress of the user upload and echos it in a text format. More...
 
class  tool_uploaduser\preview
 Display the preview of a CSV file. More...
 
class  tool_uploaduser\privacy\provider
 Privacy Subsystem for tool_uploaduser implementing null_provider. More...
 
class  tool_uploaduser\process
 Process CSV file with users data, this will create/update users, enrol them into courses, etc. More...
 

Variables

 $capabilities
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'tool/uploaduser:uploaduserpictures' => array(
'riskbitmask' => RISK_SPAM,
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'manager' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/site:uploadusers',
),
)
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition accesslib.php:122
const RISK_SPAM
Capability allows users to add content others may see - see
Definition accesslib.php:147
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115