Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
core_analytics\analysable Interface Reference

Any element analysers can analyse. More...

Inheritance diagram for core_analytics\analysable:
core_analytics\course core_analytics\site core_analytics\user

Public Member Functions

 get_context ()
 The analysable context. More...
 
 get_end ()
 The end of the analysable if there is one. More...
 
 get_id ()
 The analysable unique identifier in the site. More...
 
 get_name ()
 The analysable human readable name. More...
 
 get_start ()
 The start of the analysable if there is one. More...
 

Public Attributes

const MAX_TIME = 9999999999
 Max timestamp.
 

Detailed Description

Any element analysers can analyse.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_context()

core_analytics\analysable::get_context ( )

The analysable context.

Return values
context

Implemented in core_analytics\user, core_analytics\site, and core_analytics\course.

◆ get_end()

core_analytics\analysable::get_end ( )

The end of the analysable if there is one.

Return values
int|false

Implemented in core_analytics\user, core_analytics\site, and core_analytics\course.

◆ get_id()

core_analytics\analysable::get_id ( )

The analysable unique identifier in the site.

Return values
int.

Implemented in core_analytics\user, core_analytics\site, and core_analytics\course.

◆ get_name()

core_analytics\analysable::get_name ( )

The analysable human readable name.

Return values
string

Implemented in core_analytics\user, core_analytics\site, and core_analytics\course.

◆ get_start()

core_analytics\analysable::get_start ( )

The start of the analysable if there is one.

Return values
int|false

Implemented in core_analytics\user, core_analytics\site, and core_analytics\course.


The documentation for this interface was generated from the following file: