Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
tool_customlang\local\mlang\logstatus Class Reference

Class containing a lang string cleaned. More...

Public Member Functions

 __construct (string $message, string $errorlevel, ?string $filename=null, ?string $component=null, ?langstring $langstring=null)
 Class creator.
 
 get_message ()
 Get the log message.
 

Public Attributes

string $component = null
 the component
 
int $errorlevel = null
 the error level
 
string $filename = null
 the original filename
 
langstring $langstring = null
 the current string
 
string $stringid = null
 the string ID
 

Detailed Description

Class containing a lang string cleaned.

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

Constructor & Destructor Documentation

◆ __construct()

tool_customlang\local\mlang\logstatus::__construct ( string $message,
string $errorlevel,
?string $filename = null,
?string $component = null,
?langstring $langstring = null )

Class creator.

Parameters
string$messagethe message identifier to display
string$errorlevelthe notice level
string | null$filenamethe filename of this log
string | null$componentthe component of this log
langstring | null$langstringthe langstring of this log

Member Function Documentation

◆ get_message()

tool_customlang\local\mlang\logstatus::get_message ( )

Get the log message.

Return values
stringthe log message.

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