Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Variables
block_lp

Files

file  access.php
 Block LP capabilities.
 
file  block_lp.php
 Block LP main file.
 
file  competencies_to_review_page.php
 Competencies to review renderable.
 
file  plans_to_review_page.php
 Plans to review renderable.
 
file  provider.php
 Privacy Subsystem implementation for block_lp.
 
file  renderer.php
 Block LP renderer.
 
file  summary.php
 Summary renderable.
 
file  version.php
 Block LP version file.
 

Namespaces

 block_lp\output
  
 
 block_lp\privacy
  
 

Classes

class  block_lp
 Block LP class. More...
 
class  block_lp\output\competencies_to_review_page
 Competencies to review renderable class. More...
 
class  block_lp\output\plans_to_review_page
 Plans to review renderable class. More...
 
class  block_lp\output\renderer
 Block LP renderer class. More...
 
class  block_lp\output\summary
 Summary renderable class. More...
 
class  block_lp\privacy\provider
 Privacy Subsystem for block_lp implementing null_provider. More...
 

Variables

 $capabilities
 
$plugin component = 'block_lp'
 
$plugin dependencies
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'block/lp:addinstance' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'manager' => CAP_ALLOW
),
'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
'block/lp:myaddinstance' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
)
),
)

◆ dependencies

$plugin dependencies
Initial value:
= array(
'tool_lp' => ANY_VERSION
)
CONTEXT_SYSTEM
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition: accesslib.php:122
CAP_ALLOW
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
ANY_VERSION
const ANY_VERSION
Any version - special value that can be used in $plugin->dependencies in version.php files.
Definition: component.php:38