Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
sql.php File Reference

Variables

 $fullpivot = true
 
 $pivotkey = 'concept'
 
 $userispivot = false
 SQL.PHP This file is include from view.php and print.php.
 

Variable Documentation

◆ $userispivot

$userispivot = false

SQL.PHP This file is include from view.php and print.php.

bool $userispivot Whether the user is the pivot. bool $fullpivot Whether the pivot should be displayed in full. bool $printpivot Whether the pivot should be displayed. string $pivotkey The property of the record at which the pivot is. int $count The number of records matching the request. array $allentries The entries matching the request. mixed $field Unset in this file. mixed $entry Unset in this file. mixed $canapprove Unset in this file.

It relies on the following variables:

object $glossary The glossary object. context $context The glossary context. mixed $hook The hook for the selected tab. string $sortkey The key to sort the records. string $sortorder The order of the sorting. int $offset The number of records to skip. int $pagelimit The number of entries on this page, or 0 if unlimited. string $mode The mode of browsing. string $tab The tab selected.