Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
error_messages Class Reference

Provides validation classes used by the imscc converters. More...

Public Member Functions

 __toString ()
 Casting to string method.
 
 add ($msg)
 
 errors ()
 
 reset ()
 Empties the error content.
 
 to_string ($web=false)
 

Static Public Member Functions

static instance ()
 

Detailed Description

Provides validation classes used by the imscc converters.

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

Member Function Documentation

◆ __toString()

error_messages::__toString ( )

Casting to string method.

Return values
string

◆ add()

error_messages::add ( $msg)
Parameters
string$msg

◆ errors()

error_messages::errors ( )
Return values
array

◆ instance()

static error_messages::instance ( )
static
Return values
error_messages

◆ to_string()

error_messages::to_string ( $web = false)
Parameters
boolean$web
Return values
string

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