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

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...
 
class  block_lp_generator
 

Variables

 $capabilities
 
 $plugin = 2024041600
 
$plugin component = 'block_lp'
 
$plugin dependencies
 
$plugin version = 2024042200
 

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:
= [
'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:41