◆ __construct()
◆ errorHandler()
errorHandler |
( |
|
$no, |
|
|
|
$str, |
|
|
|
$file, |
|
|
|
$line, |
|
|
|
$ctx |
|
) |
| |
An errorHandler for PHP-errors 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! public
◆ getAuthorEmail()
Gets the emailaddress of the author public
- Returns
- string The emailaddress
◆ getAuthorName()
Gets the name of the author public
- Returns
- string The name
◆ getErrors()
Gives the codes and descriptions of the internal errors public
- Returns
- array The errors as an Array like "1" => "Could not open DB"
◆ isError()
Gives the internal errorcode public
- Returns
- boolean True if an error exists
◆ resetErrors()
Resets the errorcodes and descriptions public
◆ setAuthorEmail()
Sets the emailaddress of the author public
- Parameters
-
string | $email | The emailaddress |
◆ setAuthorName()
Sets the name of the author public
- Parameters
-
◆ throwError()
throwError |
( |
|
$errcode, |
|
|
|
$errstring, |
|
|
|
$errline = 0 , |
|
|
|
$errfile = 0 , |
|
|
|
$errtype = ERROR_NORMAL |
|
) |
| |
Sets the errorcode (internal) 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) private
- Parameters
-
object | $class | The class with the error |
◆ x_instanceof()
Gets the type of object public
- Returns
- string The type of object. See INSTANCEOF_*
◆ $authorEmail
Holds the emailadress of the author private
◆ $authorName
Holds the name of the author private
◆ $errorArray
Holds the code and description of an internal error private
◆ $instanceof
Holds the type of object. See INSTANCEOF_* private
The documentation for this class was generated from the following file: