◆ __construct()
◆ errorHandler()
| errorHandler |
( |
|
$no, |
|
|
|
$str, |
|
|
|
$file, |
|
|
|
$line, |
|
|
|
$ctx |
|
) |
| |
An errorHandler for PHP-errors @access private
- Parameters
-
| int | $no | Errornumber |
| string | $str | Errordescription |
| string | $file | Filename |
| int | $line | Linenumber |
| array | $ctx | All variables |
◆ finalize()
Destructor. Should be used every time after an object is not longer usefull! @access public
◆ getAuthorEmail()
Gets the emailaddress of the author @access public
- Returns
- string The emailaddress
◆ getAuthorName()
Gets the name of the author @access public
- Returns
- string The name
◆ getErrors()
Gives the codes and descriptions of the internal errors @access public
- Returns
- array The errors as an Array like "1" => "Could not open DB"
◆ isError()
Gives the internal errorcode @access public
- Returns
- boolean True if an error exists
◆ resetErrors()
Resets the errorcodes and descriptions @access public
◆ setAuthorEmail()
Sets the emailaddress of the author @access public
- Parameters
-
| string | $email | The emailaddress |
◆ setAuthorName()
Sets the name of the author @access public
- Parameters
-
◆ throwError()
| throwError |
( |
|
$errcode, |
|
|
|
$errstring, |
|
|
|
$errline = 0, |
|
|
|
$errfile = 0, |
|
|
|
$errtype = ERROR_NORMAL |
|
) |
| |
Sets the errorcode (internal) @access public
- Parameters
-
| integer | $errcode | The code of the error |
| string | $errstring | The description of the error |
| integer | $errline | The line |
| string | $errfile | The file |
| integer | $errtype | Defines wheter the error is critical |
◆ throwErrorFromClass()
| throwErrorFromClass |
( |
& |
$class | ) |
|
Sets the errorcode from other classes (internal) @access private
- Parameters
-
| object | $class | The class with the error |
◆ x_instanceof()
Gets the type of object @access public
- Returns
- string The type of object. See INSTANCEOF_*
◆ $authorEmail
Holds the emailadress of the author @access private
◆ $authorName
Holds the name of the author @access private
◆ $errorArray
Holds the code and description of an internal error @access private
◆ $instanceof
Holds the type of object. See INSTANCEOF_* @access private
The documentation for this class was generated from the following file: