Futilities/v0.6/clade/Apps/dba/InReq/DoList/@code/rmv/2025/03/08
Jump to navigation
Jump to search
| 2025/03/07 | 2025/03/08 | 2025/03/09 |
2025-03-08 I don't think this has been in use for some time now:
#
// STUB; TODO: *actually* check $sValue to make sure it's on the list of db connections
protected function InChker_IsValueOk(string $sValue) : bool { return TRUE; }
2025-03-08 Original version (not working very well), before the this/kept simplification:
#
protected function QDbConnSlug() : QStrIface {
$oSet = $this->OInput();
#echo $oSet->ReflectThis()->Report();
#echo '['.$oSet->Viewer()->Render().']';
#$os = QStrClass::FromNone();
$os = $oSet->QDbConnSlug();
if (!$os->HasIt()) {
#$sDbase = $oSet->DbaseSlug();
#$os->SetIt($sDbase);
$os = $this->OAKept()->QDbConnSlug();
}
return $os;
}