Member Function Documentation
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 |
Destructor. Should be used every time after an object is not longer usefull! public
Reimplemented in Vote.
Gets the emailaddress of the author public
- Returns
- string The emailaddress
Gets the name of the author public
- Returns
- string The name
Gives the codes and descriptions of the internal errors public
- Returns
- array The errors as an Array like "1" => "Could not open DB"
Gives the internal errorcode public
- Returns
- boolean True if an error exists
Resets the errorcodes and descriptions public
Sets the emailaddress of the author public
- Parameters
-
string | $email | The emailaddress |
Sets the name of the author public
- Parameters
-
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 |
( |
& |
$class | ) |
|
Sets the errorcode from other classes (internal) private
- Parameters
-
object | $class | The class with the error |
Gets the type of object public
- Returns
- string The type of object. See INSTANCEOF_*
Field Documentation
Holds the emailadress of the author private
Holds the name of the author private
Holds the code and description of an internal error private
Holds the type of object. See INSTANCEOF_* private
The documentation for this class was generated from the following file: