Moodle  2.2.1
http://www.collinsharper.com
error_messages Class Reference

Public Member Functions

 add ($msg)
 errors ()
 reset ()
 to_string ($web=false)
 __toString ()

Static Public Member Functions

static instance ()

Detailed Description

Definition at line 24 of file validator.php.


Member Function Documentation

Casting to string method

Returns:
string

Definition at line 101 of file validator.php.

Here is the call graph for this function:

add ( msg)
Parameters:
string$msg

Definition at line 51 of file validator.php.

errors ( )
Returns:
array

Definition at line 60 of file validator.php.

static instance ( ) [static]
Returns:
error_messages

Definition at line 35 of file validator.php.

Here is the caller graph for this function:

reset ( )

Empties the error content

Definition at line 67 of file validator.php.

to_string ( web = false)
Parameters:
boolean$web
Returns:
string

Definition at line 75 of file validator.php.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations