Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
report_loglive

Files

file  access.php
 Capabilities.
 
file  lib.php
 Libs, public API.
 
file  provider.php
 Privacy Subsystem implementation for report_loglive.
 
file  renderable.php
 Loglive report renderable class.
 
file  renderer.php
 Loglive report renderer.
 
file  renderer_ajax.php
 Log live report ajax renderer.
 
file  report_viewed.php
 The report_loglive report viewed event.
 
file  settings.php
 Links and settings.
 
file  table_log.php
 Table log for displaying logs.
 
file  table_log_ajax.php
 Table log for generating data in ajax mode.
 
file  version.php
 Version info.
 

Namespaces

namespace  report_loglive\event
  
 
namespace  report_loglive\privacy
  
 

Classes

class  report_loglive\event\report_viewed
 The report_loglive report viewed event class. More...
 
class  report_loglive\privacy\provider
 Privacy Subsystem for report_loglive implementing null_provider. More...
 
class  report_loglive_renderable
 Report loglive renderable class. More...
 
class  report_loglive_renderer
 Report log renderer's for printing reports. More...
 
class  report_loglive_renderer_ajax
 Log live report ajax renderer. More...
 
class  report_loglive_table_log
 Table log class for displaying logs. More...
 
class  report_loglive_table_log_ajax
 Table log class for generating data in ajax mode. More...
 

Functions

stdClass report_loglive_extend_navigation_course ($navigation, $course, $context)
 This function extends the navigation with the report items. More...
 
 report_loglive_supports_logstore ($instance)
 Callback to verify if the given instance of store is supported by this report or not. More...
 

Variables

 $capabilities
 
 $plugin = 2020060900
 
 $settings = null
 
$plugin component = 'report_loglive'
 
$plugin version = 2020061500
 

Detailed Description

Function Documentation

◆ report_loglive_extend_navigation_course()

stdClass report_loglive_extend_navigation_course (   $navigation,
  $course,
  $context 
)

This function extends the navigation with the report items.

$CFG @global core_renderer $OUTPUT

Parameters
navigation_node$navigationThe navigation node to extend
stdClass$courseThe course to object for the report
context$contextThe context of the course

◆ report_loglive_supports_logstore()

report_loglive_supports_logstore (   $instance)

Callback to verify if the given instance of store is supported by this report or not.

Parameters
string$instancestore instance.
Return values
boolreturns true if the store is supported by the report, false otherwise.

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'report/loglive:view' => array(
'riskbitmask' => RISK_PERSONAL,
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
),
),
)
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition: accesslib.php:128
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
const RISK_PERSONAL
Capability allows access to personal user information - see
Definition: accesslib.php:145