Moodle  2.2.1
http://www.collinsharper.com
SimpleStickyError Class Reference
Inheritance diagram for SimpleStickyError:

Public Member Functions

 SimpleStickyError ()
 isError ()
 getError ()
 _setError ($error)
 _clearError ()

Data Fields

 $_error = 'Constructor not chained'

Detailed Description

Definition at line 21 of file socket.php.


Member Function Documentation

Resets the error state to no error. protected

Definition at line 64 of file socket.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_setError ( error)

Sets the internal error.

Parameters:
stringError message to stash. protected

Definition at line 56 of file socket.php.

Here is the caller graph for this function:

getError ( )

Accessor for an outstanding error.

Returns:
string Empty string if no error otherwise the error message. public

Definition at line 47 of file socket.php.

isError ( )

Test for an outstanding error.

Returns:
boolean True if there is an error. public

Definition at line 37 of file socket.php.

Here is the caller graph for this function:

Sets the error to empty. public

Definition at line 28 of file socket.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$_error = 'Constructor not chained'

Definition at line 22 of file socket.php.


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