Ferreteria/v0.3/class/cStandardRow: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
(Created page with "{{page/code/class|ferreteria}} <source lang=php> /*:::: PURPOSE: data-row management for storage I/O FUNCTIONALITY: table-sourced row with single "ID" index REPLACES: fc...")
 
m (4 revisions imported: moving this project here)
 
(3 intermediate revisions by one other user not shown)
Line 12: Line 12:
*/
*/
abstract class cStandardRow extends cFieldRow_sourced implements ifSingleKeyedRow {
abstract class cStandardRow extends cFieldRow_sourced implements ifSingleKeyedRow {
    use tMakableFieldRow;
     use tKeyedRow;
     use tKeyedRow;
     use tSaveableRow;
     use tSaveableRow;
Line 22: Line 23:
     }
     }
}
}
</source>
</source>
* '''file''': {{l/ferreteria/file|data/core/systems.php}}
* '''file''': {{l/ferreteria/file|data/core/systems.php}}
Line 27: Line 29:
* '''implements''' {{l/ferreteria/class|ifSingleKeyedRow}}
* '''implements''' {{l/ferreteria/class|ifSingleKeyedRow}}
* '''uses''':
* '''uses''':
** {{l/ferreteria/class|tMakableFieldRow}}
** {{l/ferreteria/class|tKeyedRow}}
** {{l/ferreteria/class|tKeyedRow}}
** {{l/ferreteria/class|tSaveableRow}}
** {{l/ferreteria/class|tSaveableRow}}
** {{l/ferreteria/class|tSingleKey_Row}}
** {{l/ferreteria/class|tSingleKey_Row}}
** {{l/ferreteria/class|tFieldRow_Storage}}
** {{l/ferreteria/class|tFieldRow_Storage}}

Latest revision as of 16:43, 22 May 2022

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';
    }
}