Ferreteria/v0.6/clade/Sys/Events/ItWent/@history

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | Sys‎ | Events‎ | ItWent
Jump to navigation Jump to search
date what
2026-01-04 added Assimilate()
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
  • added GetError() to things being copied in CopyFrom()
  • changed GetError() return-type from int to ?int so it can be easily copied even when not set (NULL)
2024-06-27 moving from [WF]Data/Mem/Result -> [WFe]Data/Base, which is where it actually gets used.
  • Also adding iAction.
2024-11-19 moving from [WFe]Data/Base -> [WFe]Sys/Events, because it really isn't DB-specific
  • Note that there is a data-specific podling, [WFe]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-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-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()
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 tActionErrorStatusGetStatusText().
    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.