Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
tool_brickfield\analysis Class Reference

Static Public Member Functions

static get_type ()
 Return the type of analysis being used (currently only request).
 
static is_course_analyzed (int $courseid)
 Return true if the course has been analyzed.
 
static is_enabled ()
 Return true is analysis has been enabled.
 
static redirect_message ()
 Return a redirect message with the earliest time expected for analysis to complete.
 
static type_is_byrequest ()
 Return true if analysis is by request method.
 

Public Attributes

const ANALYSISBYREQUEST = '1'
 Indicates that analysis is enabled and using request method.
 
const ANALYSISDISABLED = '0'
 Indicates that analysis of content has been enabled.
 

Member Function Documentation

◆ get_type()

static tool_brickfield\analysis::get_type ( )
static

Return the type of analysis being used (currently only request).

Return values
false|mixed|object|string|null
Exceptions
dml_exception

◆ is_course_analyzed()

static tool_brickfield\analysis::is_course_analyzed ( int $courseid)
static

Return true if the course has been analyzed.

Parameters
int$courseid
Return values
bool
Exceptions
dml_exception

◆ is_enabled()

static tool_brickfield\analysis::is_enabled ( )
static

Return true is analysis has been enabled.

Return values
bool
Exceptions
dml_exception

◆ redirect_message()

static tool_brickfield\analysis::redirect_message ( )
static

Return a redirect message with the earliest time expected for analysis to complete.

Return values
lang_string|string
Exceptions
coding_exception

◆ type_is_byrequest()

static tool_brickfield\analysis::type_is_byrequest ( )
static

Return true if analysis is by request method.

Return values
bool
Exceptions
dml_exception

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