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

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
(Created page with "<source lang=php> // PURPOSE: standard db table source with a single "ID" key abstract class cIOSource_standard_table extends cIOSource_db_keyed { use tSelectable_Source_s...")
 
No edit summary
Line 17: Line 17:
** {{l/ferreteria/class|tInsertable_Source}}
** {{l/ferreteria/class|tInsertable_Source}}
** {{l/ferreteria/class|tUpdateable_Source}}
** {{l/ferreteria/class|tUpdateable_Source}}
* '''extended by''': '''{{l/ferreteria/class|fctUserSessions}}''' extends ferreteria\data\cIOSource_standard_table
* '''extended by''':
** {{l/ferreteria/class|fctUserSessions}}
** {{l/ferreteria/class|ctPlex_EventTable}}

Revision as of 12:54, 28 December 2018

// 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();
}