Ferreteria/v0.5/@cls/cArgs: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
==About==
==About==
* '''Purpose''': an array of Status objects
* '''Purpose''': an array of Status objects
** The Status object, if present, is the value of the cell.
** If a cell has a value, that value is the Status object.
** The value ultimately being stored is the Status object's value.
** So, yeah, you'll end up with double-references: [array]->GetCell(name)->GetIt()->GetIt(), etc.
==History==
==History==
* '''2022-06-11''' Replacing old cArgs with, basically, cResults (later removed)
* '''2022-06-11''' Replacing old cArgs with, basically, cResults (later removed)

Revision as of 20:56, 17 July 2022

Ferreteria class ferret\arr\cArgs
cLocal cArgs

ferret\layout\html\tag\cAttributes
ferret\data\cDataOpResult
ferret\menu\cNav

About

  • Purpose: an array of Status objects
    • If a cell has a value, that value is the Status object.
    • The value ultimately being stored is the Status object's value.
    • So, yeah, you'll end up with double-references: [array]->GetCell(name)->GetIt()->GetIt(), etc.

History

  • 2022-06-11 Replacing old cArgs with, basically, cResults (later removed)
    • ... but keeping separate cArgs class in case additional functionality is needed.
  • 2022-06-12
    • moved Results and Args from data/result/base.php to util/array/legacy/status.php (for now)
    • pulling in bits from the retired version as they come up.
      • It seems likely this should be in a menu-related namespace, since that is how it is used.
  • 2022-06-15 added CellClasses() (ability to predefine different status classes for specific named elements)