Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
file | access.php |
Capabilities for this report. | |
file | lib.php |
Lib API functions. | |
file | locallib.php |
Lib API functions. | |
file | provider.php |
Privacy Subsystem implementation for report_usersessions. | |
file | version.php |
Version info. | |
Namespaces | |
namespace | report_usersessions\privacy |
| |
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. More... | |
report_usersessions_format_duration ($duration) | |
Show user friendly duration since last activity. More... | |
report_usersessions_format_ip ($ip) | |
Show some user friendly IP address info. More... | |
report_usersessions_kill_session ($id) | |
Kill user session. More... | |
report_usersessions_myprofile_navigation (core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course) | |
Add nodes to myprofile page. More... | |
Variables | |
$capabilities | |
$plugin = 2020060900 | |
$plugin | component = 'report_usersessions' |
$plugin | version = 2020061500 |
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 |