Ferreteria/v0.5/@cls/cArgs: Difference between revisions
< 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 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
cLocal → | cArgs |
→ ferret\layout\html\tag\cAttributes |
- Source: util/array/args.php
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)