Ferreteria/v0.3/class/cIOSource standard table: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
(obsolete)
m (Woozle moved page Ferreteria/class/cIOSource standard table to Ferreteria/v3/class/cIOSource standard table without leaving a redirect: this is all v3 documentation, and we still need v2)
(No difference)

Revision as of 14:24, 19 January 2019

Template:Page/obsolete

// PURPOSE: standard db table source with a single "ID" key
abstract class cIOSource_standard_table extends cIOSource_db_keyed {
    use tSelectable_Source_simple;
    use tInsertable_Source;
    use tUpdateable_Source;

    public function GetKeyName() { return 'ID'; }
    protected function SourceString_forSelect() // returns TableName()
    abstract protected function TableName();
}