Ferreteria/v0.6/fx/WithItemValue: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | fx
Jump to navigation Jump to search
(Created page with "{{page/fx}} ==About== * '''Action''': initializes a newly-created object with an <code>{{l/ver/clade|Sys\Events|InputItem}}</code> object and the string to be processed by it * '''Calls''': ** <code>{{l/ver/fx|Item}}()</code> - saves the InputItem object ** <code>{{l/ver/fx|ParseInputString}}()</code> - parses/handles the corresponding input string ==Code== ''as of {{fmt/date|2025|11|17}}:'' {{fmt/php/block|1=# protected function WithItemValue(ItemIface $oItem, strin...")
 
No edit summary
 
Line 1: Line 1:
{{page/fx}}
{{page/fx}}
==About==
This function has been [[/@removed/]] from <code>{{l/ver/clade/full|Sys\Events|InputRq}}</code>; its two lines of code have been moved into <code>{{l/ver/clade/full|Sys\Events|InputRq}}::[[../WithItemPiece/]]()</code>.
* '''Action''': initializes a newly-created object with an <code>{{l/ver/clade|Sys\Events|InputItem}}</code> object and the string to be processed by it
* '''Calls''':
** <code>{{l/ver/fx|Item}}()</code> - saves the InputItem object
** <code>{{l/ver/fx|ParseInputString}}()</code> - parses/handles the corresponding input string
==Code==
''as of {{fmt/date|2025|11|17}}:''
{{fmt/php/block|1=#
    protected function WithItemValue(ItemIface $oItem, string $sValue) : void {
        $this->Item($oItem);
        $this->ParseInputString($sValue);
    }
}}

Latest revision as of 14:42, 18 November 2025

This function has been @removed from Sys\Events\InputRq; its two lines of code have been moved into Sys\Events\InputRq::WithItemPiece().