Ferreteria/v0.6/clade/Sys/Events/ItWent/@history: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==2025== * '''{{fmt/date|2025|01|24}}''' renamed from Action -> ItWent, to clarify/disambiguate purpose ** That's short for "how it went", which seemed longer than needed. I could have just called it "How", but that seems more ambiguous. ==2024== * '''{{fmt/date|2024|06|27}}''' moving from [WF]Data/Mem/Result -> [WF]Data/Base, which is where it actually gets used. ** Also adding iAction. * '''{{fmt/date|2024|11|19}}''' moving from [WF]Data/Base -> [WF]Sys/Events, because...") |
(→2025) |
||
| Line 2: | Line 2: | ||
* '''{{fmt/date|2025|01|24}}''' renamed from Action -> ItWent, to clarify/disambiguate purpose | * '''{{fmt/date|2025|01|24}}''' renamed from Action -> ItWent, to clarify/disambiguate purpose | ||
** That's short for "how it went", which seemed longer than needed. I could have just called it "How", but that seems more ambiguous. | ** That's short for "how it went", which seemed longer than needed. I could have just called it "How", but that seems more ambiguous. | ||
* '''{{fmt/date|2025|10|26}}''' added <code>{{l/ver/fx|CopyFrom}}()</code> | |||
* '''{{fmt/date|2025|10|27}}''' | |||
** added <code>{{l/ver/fx|GetError}}()</code> to things being copied in <code>CopyFrom()</code> | |||
** changed <code>{{l/ver/fx|GetError}}()</code> return-type from <code>int</code> to <code>?int</code> so it can be easily copied even when not set (NULL) | |||
==2024== | ==2024== | ||
* '''{{fmt/date|2024|06|27}}''' moving from [WF]Data/Mem/Result -> [WF]Data/Base, which is where it actually gets used. | * '''{{fmt/date|2024|06|27}}''' moving from [WF]Data/Mem/Result -> [WF]Data/Base, which is where it actually gets used. | ||
Latest revision as of 13:15, 27 October 2025
2025
- 2025-01-24 renamed from Action -> ItWent, to clarify/disambiguate purpose
- That's short for "how it went", which seemed longer than needed. I could have just called it "How", but that seems more ambiguous.
- 2025-10-26 added
CopyFrom() - 2025-10-27
2024
- 2024-06-27 moving from [WF]Data/Mem/Result -> [WF]Data/Base, which is where it actually gets used.
- Also adding iAction.
- 2024-11-19 moving from [WF]Data/Base -> [WF]Sys/Events, because it really isn't DB-specific
- Note that there is a data-specific podling, [WF]Sys\Data\Request\Dbase\xDataOp
- 2024-11-20 Added SetNoOp(). For now, I'm defining a no-op as "nothing tried, but it's okay" (implying that there was nothing to do).
- If it ends up being important to detect a no-op, I'll add GetNoOp() which will only return TRUE under those exact conditions.
- 2024-12-04 Modified IsOkay() to return TRUE if *either* isTried or isOkay is set, so that a no-op means okay=yes.
2023
- 2023-07-03 Adapting for The Futilities. I need to learn how to package stuff with Composer and start using that, don't I.
- 2023-09-23 adapting for Ferreteria
2022
- 2022-01-26
- I think GetStatusText() must have been written back when this code was intermingled with tErrorStatus (or similar). It won't work in this context.
- Therefore:
- (re)created tActionStatus from cActionStatus, created tActionErrorStatus
- creating cActionStatus as a class-alias for tActionStatus
- There was a pre-existing tActionStatus which had been commented out on 2021-05-22 ("Decided to remove method aliases to reduce confusion... ...and then decided that really, this trait just confuses things. Hiding it.), but it just added aliases to a cActionStatus object retrieved via $this->Action(), and an OnCreate_ActionStatus() event for no apparent reason. Removing commented-out stuff.
- creating trait tActionErrorStatus for use with tErrorStatus, so we can have GetStatusText()
- Therefore:
- I think GetStatusText() must have been written back when this code was intermingled with tErrorStatus (or similar). It won't work in this context.
- 2022-03-26 Ripping out the whole ActionStatus family of interfaces; see data/space/ops.php
- Reworking traits/classes:
- trait tActionStatus is now class cActionStatus again
- Removed tActionErrorStatus - merged with cActionStatus
- Apparently I meant to update GetStatusText() to work with cActionStatus, but never got around to it. Changing it now to use GetStatusText() instead of replicating tActionErrorStatus → GetStatusText().
- Reworking traits/classes:
- 2022-03-26
- This used to unofficially implement ifActionStatus, but that's retired now.
- Changing this from a trait back into a class, and merging it with ErrorStatus.