Extension of GALRow that implements write access and references a whole row of a table.
Class Details
[line 267]
This class represents a row of a database result.
It implements the magic __get() method to access fields almost like native member variables. Write access is not supported as the fields of an arbitrary result could be created by MySQL functions like COUNT() or arithmetic operations. Write support is the scope of table.inc.php. Note that all "real" properties start with an underscore so that they do not interfere with fields accessed by __get().
Indicates if this row is "dead", i.e. deleted from the database or destructed.
This object variable was introduced for the subclass GALTableRow, because this way the get() and __destruct() methods needn't to be reimplemented. In GALTableRow a delete() method is implemented that deletes the row from the database. As I can't find a way for objects to unset() or destroy themself, a deleted row renders itself a "zombie" by setting $_dead to TRUE, i.e. they become an object that should be dead, but can't be... ;)
This method is called in GALTableRow::delete(). It wouldn't be useful otherwise and has the task to invalidate this row so that it cannot be used any more.