Ferreteria/v0.6/clade/Data/Mem/QVar/@removed
Jump to navigation
Jump to search
|
Removed Code
|
2025-09-26
#
// ++ CLASS MODE ++ //
// 2025-05-11 May or may not use this...
static private $useRefs = FALSE;
static public UseRefs(bool $b=NULL) : bool { return is_null($b) ? self::$useRefs : (self::$useRefs = $b); }
// -- CLASS MODE -- //
2025-04-14
These do not appear to be used:
#
static public function FromElement(array $ar, $vKey) : iQVar {
$oThis = new static;
$oThis->SetFromArrElem($ar,$vKey);
return $oThis;
}
public function SetFromArrElem(array $ar, int|string $idx) {
if (array_key_exists($idx,$ar)) {
$this->SetIt($ar[$idx]);
} else {
$this->ZapIt();
}
}
2025-04-13
#
// 2025-04-08 duplicate of FromOAElement()
static public function FromAElement(ArrayIface $oa, $vKey) : iQVar {
$oThis = new static;
$oThis->RefFromOArrElem($oa,$vKey);
return $oThis;
}