Ferreteria/v0.5/@cls/data/unit/calc/cObject: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
* '''Source''': {{l/ferreteria/code|data/fields/unit/native/types.php}} | * '''Source''': {{l/ferreteria/code|data/fields/unit/native/types.php}} | ||
* '''Purpose''': base class for Calc Units that represent data as an object | * '''Purpose''': base class for Calc Units that represent data as an object | ||
==Thinking== | |||
This is descended from {{l/ver/class|ns=data/unit/calc|cText}} rather than {{l/ver/class|ns=data/unit/calc|caBase}} because objects are generally serialized to Storage as text. I'm not sure that's ''sufficient'' justification, but it'll do for now. |
Latest revision as of 18:21, 20 March 2023
class
ferret\data\unit\calc\cObject |
cText | → | cObject | → |
- Source: data/fields/unit/native/types.php
- Purpose: base class for Calc Units that represent data as an object
Thinking
This is descended from cText rather than caBase because objects are generally serialized to Storage as text. I'm not sure that's sufficient justification, but it'll do for now.