Ferreteria/v0.6/clade/Sys/Events/InputRq/@removed

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | Sys‎ | Events‎ | InputRq
Jump to navigation Jump to search
Removed Code

2025-11-19

Commented out on 2025-09-27 (from Item(), just before the else):

#
            // 2025-09-27 What happens if we just skip this?
            #$sSlug = $o->Attrs()->QName()->GetIt()->Name();
            $sSlug = $o->SName(); // "name=" attribute for <item> tag
            // 2025-09-27 What are we actually trying to do here?
            //  We're picking up something from the attribute...
            echo $this->ReflectThis()->Report();
            $this->WithSlug($sSlug);

2025-10-11

Commented out on 2025-09-27:

#
    //* 2025-09-27 nopenopenope...
    protected function OAUserInput() : InDataIface {
        $oa = InDataClass::GlobalData();
        #echo $this->ReflectThis()->Report();
        #echo $oa->ReflectThis()->Report();
        #return $oa->QryIt('data');  // a bit klugey? We're only storing this one array...
        return $oa;
    }
    //*/

2025-09-14

Commented out 2025-08-06:

#
            // 2025-08-06 old version
            $osPair = $oItem->Attrs()->QryIt('valdef');
            if ($osPair->HasIt()) {
                $sVal = $osPair->GetIt()->Value();
            } else {
                $sVal = '';
            }

2025-08-01

Commented out this morning and earlier:

#
    // 2025-08-01 never used anywhere
    static public function FromItemValue(ItemIface $oItem, string $sValue) : SelfIface {
        $oThis = new static;
        $oThis->WithItemValue($oItem,$sValue);
        echo "ITEM VALUE=[$sValue]".CRLF;
        return $oThis;
    }
    static public function FromPairObject(ItemIface $oItem, PairIface $oPair) : SelfIface {
        $oThis = new static;
        $oThis->WithPairObject($oItem,$oPair);
        return $oThis;
    }
    protected function WithPairObject(ItemIface $oItem, PairIface $oPair) : void {
        $this->WithItemValue($oItem,$oPair->Value);
        $this->SetArgs($oPair->Extra());
    }