mosTableEntryAbstract class for classes where the objects of the class can be relatively easily stored in a single database table. Can usually be adapted to more complex cases.
Requires child classes to implement: tableName(), notSQL(). tableName() must return the name of the database table, using #__ in the usual Mambo way notSQL() must return an array of strings, where each string is the name of a variable that is NOT in the database table, or is not written explicitly, e.g. the auto-increment key. If this is the ONLY non-SQL field, then the child class need not implement it, as that it is already in the abstract class. Child classes may implement timeStampField, in which case it must return the name of a field that will have a timestamp placed in it whenever the DB is written.
Located in /includes/database.php (line 1005)
mosDBAbstractRow | --mosTableEntry
| Class | Description |
|---|---|
mosContainer
|
Abstract class for classes where the objects of the class can be relatively easily stored in a single database table. Can usually be adapted to more complex cases. |
Inherited from mosDBAbstractRow
mosDBAbstractRow::$_error
mosDBAbstractRow::$_tbl
mosDBAbstractRow::$_tbl_key
Inherited From mosDBAbstractRow
mosDBAbstractRow::mosDBAbstractRow()
mosDBAbstractRow::check()
mosDBAbstractRow::lacks()
mosDBAbstractRow::move()
mosDBAbstractRow::updateOrder()
Documentation generated on Mon, 05 May 2008 16:19:11 +0400 by phpDocumentor 1.4.0