Ferreteria/v0.6/clade/Sys/Events/ItWent: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | Sys‎ | Events
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{page/clade}}
{{page/clade/v2
{| style="border: solid 1px black; float: right;"
|fam=
! colspan=3 | Clade Family
{{!}} align=right {{!}} {{l/ver/clade|Aux|StandardBase}}
|-
{{!}} align=center {{!}} &rarr; '''ItWent'''
| align=right | {{l/ver/clade|Aux|StandardBase}}
{{!}}
| &rarr; '''ItWent'''
|
&rarr; {{l/ver/clade|Sys\Events\ItWent|CommOp}}<br>
&rarr; {{l/ver/clade|Sys\Events\ItWent|CommOp}}<br>
&rarr; {{l/ver/clade|Sys\Events\ItWent|ReadOp}}
&rarr; {{l/ver/clade|Sys\Events\ItWent|ReadOp}}
|-
| colspan=3 align=center |


{| class="wikitable"
|alia=
|-
{{!-!}} '''Base'''* || {{l/ver/clade/full|p=ferreteria|Aux|StandardBase}}
! colspan=2 | Clade Aliases
{{!-!}} '''Msg'''* || {{l/ver/clade/full|p=ferreteria|Sys\Events|Message}}
|-
! Alias || Clade
|-
| '''Base'''* || {{l/ver/clade|Aux|StandardBase}}
|-
| '''Msg'''* || {{l/ver/clade|Sys\Events|Message}}
|}


|}
}}
==About==
==About==
* '''purpose''': an object that can report status and any related messages (usually errors or warnings) resulting from an attempted action, i.e. "how it went"
* '''purpose''': an object that can report status and any related messages (usually errors or warnings) resulting from an attempted action, i.e. "how it went"


Any object can make use of this feature via the <code>{{l/ver/clade/full|Sys/Events/has|ItWent}}</code> iface/trait.
Any object can make use of this feature via the <code>{{l/ver/clade/full|Sys/Events/has|ItWent}}</code> iface/trait.
==Pages==
* [[/@history]]
==Code==
==Code==
''as of 2025-10-01''
''as of 2025-10-26''
{{fmt/php/block|1=
{{fmt/php/block|1=
interface iItWent extends BaseIface {
interface iItWent extends BaseIface {
Line 73: Line 64:
     }
     }
     public function GetOkay() : bool {
     public function GetOkay() : bool {
         if ($this->isTried {{|}}{{|}} $this->isOkay) {
         if ($this->isTried || $this->isOkay) {
             return $this->isOkay;
             return $this->isOkay;
         } else {
         } else {
Line 122: Line 113:
             $sOut = $oScrn->ErrorIt('Error report');
             $sOut = $oScrn->ErrorIt('Error report');
             if ($this->HasError()) {
             if ($this->HasError()) {
                 $ftErNum = $oScrn->BoldIt($this->GetNumber());
                 $ftErNum = $oScrn->BoldIt($this->GetError());
                 $sOut .= " code $ftErNum.".CRLF; // 2025-01-25 This will need some revision.
                 $sOut .= " code $ftErNum.".CRLF;
             } else {
             } else {
                 $sOut .= ':'.CRLF;
                 $sOut .= ':'.CRLF;
Line 143: Line 134:


     // -- RESULT -- //
     // -- RESULT -- //
}
}
}}
}}

Revision as of 21:00, 26 October 2025

clade: Sys\Events\ItWent
Clade Family
StandardBase ItWent

CommOp
ReadOp

Clade Aliases
Alias Clade
Base*
Subpages

About

  • purpose: an object that can report status and any related messages (usually errors or warnings) resulting from an attempted action, i.e. "how it went"

Any object can make use of this feature via the Sys\Events\has\ItWent iface/trait.

Pages

Code

as of 2025-10-26