Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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 = 2023041800
 
$plugin component = 'block_lp'
 
$plugin dependencies
 
$plugin version = 2023042400
 

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