Ferreteria/v0.3/class/cIOSource standard table: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
No edit summary |
(obsolete) |
||
Line 1: | Line 1: | ||
{{page/ | {{page/obsolete|ferreteria}} | ||
<source lang=php> | <source lang=php> | ||
// PURPOSE: standard db table source with a single "ID" key | // PURPOSE: standard db table source with a single "ID" key | ||
Line 12: | Line 12: | ||
} | } | ||
</source> | </source> | ||
* '''file''': {{l/ferreteria/file|data/sources/source-db.php}} | * '''replaced by''': {{l/ferreteria/class|cStandardTable}} | ||
* '''file''': <s>{{l/ferreteria/file|data/sources/source-db.php}}</s> | |||
* '''extends''': {{l/ferreteria/class|cIOSource_db_keyed}} | * '''extends''': {{l/ferreteria/class|cIOSource_db_keyed}} | ||
* '''uses''': | * '''uses''': |
Revision as of 11:36, 7 January 2019
// 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();
}
- replaced by: Template:L/ferreteria/class
- file:
Template:L/ferreteria/file - extends: Template:L/ferreteria/class
- uses:
- extended by:
- Template:L/ferreteria/class
- Template:L/ferreteria/class
- FinanceFerret:
- Template:L/financeferret/class extends ferreteria\data\cIOSource_standard_table
- Template:L/financeferret/class extends ferreteria\data\cIOSource_standard_table
- Template:L/financeferret/class extends ferreteria\data\cIOSource_standard_table
- Template:L/financeferret/class extends \ferreteria\data\cIOSource_standard_table
- Template:L/financeferret/class extends \ferreteria\data\cIOSource_standard_table
- Template:L/financeferret/class extends \ferreteria\data\cIOSource_standard_table