Ferreteria/v0.6/clade/Sys/Events/InputRq/@removed: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
{{fmt/title|Removed Code}} | {{fmt/title|Removed Code}} | ||
=={{fmt/date|2025|11|19}}== | =={{fmt/date|2025|11|19}}== | ||
Commented out on {{fmt/date|2025|09|27}} (from <code>[[../@Item|Item]]()</code>, just before the <code>else</code>): | Commented out on {{fmt/date|2025|09|27}} (from <code>[[../@fx/Item|Item]]()</code>, just before the <code>else</code>): | ||
{{fmt/php/block|1=# | {{fmt/php/block|1=# | ||
// 2025-09-27 What happens if we just skip this? | // 2025-09-27 What happens if we just skip this? | ||
| Line 11: | Line 11: | ||
$this->WithSlug($sSlug); | $this->WithSlug($sSlug); | ||
}} | }} | ||
=={{fmt/date|2025|10|11}}== | =={{fmt/date|2025|10|11}}== | ||
Commented out on {{fmt/date|2025|09|27}}: | Commented out on {{fmt/date|2025|09|27}}: | ||
Latest revision as of 13:35, 19 November 2025
|
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
#
//* 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
#
// 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());
}