{Child Class}::staticGet() -- Simple Get (Select) request, abbreviated (autogenerated)
Beschreibung
The static method is similar to the get request, however it does not require the
initial instantiation of the class.
staticGet() can optionally cache the results. (see the configuration section)
Note: This can only be used for tables with a single column primary key.
Rückgabewert
object mixed - FALSE or the object
Fehler-Meldungen
Tabelle 39-1. Mögliche Fehler-Arten
| Error code | Error message | Meaning | Solution |
|---|
| DB_DATAOBJECT_ERROR_NOCLASS | „could not autoload $class“ | | |
| DB_DATAOBJECT_ERROR_NOCLASS | „Error creating $newclass“ | | |
| DB_DATAOBJECT_ERROR_NODATA | „No Data return from get $key $value“ | | |
Hinweise
This method must be called statically.