Stud.IP  6.0
AuthorObject Class Reference
Inheritance diagram for AuthorObject:
DatabaseObject StudipObject

Public Member Functions

 __construct ()
 x_instanceof ()
 isError ()
 getErrors ()
 resetErrors ()
 throwError ($errcode, $errstring)
 throwErrorFromClass (AuthorObject $class)

Data Fields


Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Constructor public

Member Function Documentation

◆ getErrors()

getErrors ( )

Gives the codes and descriptions of the internal errors public

array The errors as an Array like "1" => "Could not open DB"

◆ isError()

isError ( )

Gives the internal errorcode public

boolean True if an error exists

◆ resetErrors()

resetErrors ( )

Resets the errorcodes and descriptions public

◆ throwError()

throwError (   $errcode,

Sets the errorcode (internal) public

integer$errcodeThe code of the error
string$errstringThe description of the error

◆ throwErrorFromClass()

throwErrorFromClass ( AuthorObject  $class)

Sets the errorcode from other classes (internal) private

object$classThe class with the error

◆ x_instanceof()

x_instanceof ( )

Gets the type of object public

string The type of object. See INSTANCEOF_*

Field Documentation

◆ $errorArray

array $errorArray

Holds the code and description of an internal error private

◆ $instanceof

string $instanceof

Holds the type of object. See INSTANCEOF_* private

The documentation for this class was generated from the following file: