Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Directories | |
directory | classes |
| |
Namespaces | |
namespace | report_usersessions\privacy |
Privacy Subsystem implementation for report_usersessions. | |
Classes | |
class | report_usersessions\privacy\provider |
Privacy Subsystem for report_usersessions implementing null_provider. More... | |
Functions | |
report_usersessions_extend_navigation_user ($navigation, $user, $course) | |
This function extends the course navigation with the report items. | |
report_usersessions_format_duration ($duration) | |
Show user friendly duration since last activity. | |
report_usersessions_format_ip ($ip) | |
Show some user friendly IP address info. | |
report_usersessions_kill_session ($id) | |
Kill user session. | |
report_usersessions_myprofile_navigation (core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course) | |
Add nodes to myprofile page. | |
Variables | |
$capabilities | |
$plugin = 2023100400 | |
$plugin | component = 'report_usersessions' |
$plugin | version = 2023100900 |
report_usersessions_extend_navigation_user | ( | $navigation, | |
$user, | |||
$course ) |
This function extends the course navigation with the report items.
navigation_node | $navigation | The navigation node to extend |
stdClass | $user | |
stdClass | $course | The course to object for the report |
report_usersessions_format_duration | ( | $duration | ) |
Show user friendly duration since last activity.
int | $duration | in seconds |
string |
report_usersessions_format_ip | ( | $ip | ) |
Show some user friendly IP address info.
string | $ip |
string |
report_usersessions_kill_session | ( | $id | ) |
Kill user session.
int | $id |
void |
report_usersessions_myprofile_navigation | ( | core_user\output\myprofile\tree | $tree, |
$user, | |||
$iscurrentuser, | |||
$course ) |
Add nodes to myprofile page.
core_user\output\myprofile\tree | $tree | Tree object |
stdClass | $user | user object |
bool | $iscurrentuser | |
stdClass | $course | Course object |
bool |
$capabilities |