Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

namespace  block_lp\output
  
 
namespace  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 = 2020060900
 
$plugin component = 'block_lp'
 
$plugin dependencies
 
$plugin version = 2020061500
 

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
)
),
)
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition: accesslib.php:122
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115

◆ dependencies

$plugin dependencies
Initial value:
= array(
'tool_lp' => ANY_VERSION
)
const ANY_VERSION
Any version - special value that can be used in $plugin->dependencies in version.php files.
Definition: component.php:38