->database()

->database() -- Get or set the database the object uses

Synopsis

object $DB_DataObject->database ([string $name])

Beschreibung

Without any argument, it returns the database that the object deals with. With a string, it will set the database for the instance of the object.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Beispiel