Ferreteria/v0.3/class/cStandardRow

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Revision as of 16:43, 22 May 2022 by Woozle (talk | contribs) (4 revisions imported: moving this project here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Page/code/class

/*::::
  PURPOSE: data-row management for storage I/O
  FUNCTIONALITY: table-sourced row with single "ID" index
  REPLACES: fcDataRow
  HISTORY:
    2018-09-30 started
    2018-11-30 mostly gutted
    2018-12-15 Sources are now pointed to by storage-type PortalRows, not IORows
    2019-01-05 renamed from cFieldRowStandard to cStandardRow; added tFieldRow_Storage
*/
abstract class cStandardRow extends cFieldRow_sourced implements ifSingleKeyedRow {
    use tMakableFieldRow;
    use tKeyedRow;
    use tSaveableRow;
    use tSingleKey_Row;
    use tFieldRow_Storage;
    
    // CEMENT
    protected function GetStoragePortalsClass() {
        return __NAMESPACE__.'\\cPortalRow_Table';
    }
}