protected function setViewModernDelete($tbl, $idn)
    {
        $tMsg = $this->setViewDeleteFeedbacks();
        if ($tbl == '') {
            $sReturn = $this->setFeedbackModern('error', $tMsg['Confirmation'], $tMsg['Impossible']);
        } else {
            $this->initializeSprGlbAndSession();
            $idFldVal = $this->tCmnSuperGlobals->query->get($idn);
            $this->setMySQLquery2Server($this->sQueryToDeleteSingleIdentifier([$tbl, $idn, $idFldVal]));
            $sReturn  = $this->setFeedbackModern('error', $tMsg['Confirmation'], $tMsg['Failed'])
                    . '(' . $this->mySQLconnection->error . ')';
            if ($this->mySQLconnection->affected_rows > 0) {
                $sReturn = $this->setFeedbackModern('check', $tMsg['Confirmation'], $tMsg['Success']);
            }
        }
        return $this->setViewDeletePackedFinal($sReturn);
    }
protected function setViewModernDelete($tbl, $idn)
    {
        $tMsg = $this->setViewDeleteFeedbacks();
        if ($tbl == '') {
            $sReturn = $this->setFeedbackModern('error', $tMsg['Confirmation'], $tMsg['Impossible']);
        } else {
            $this->initializeSprGlbAndSession();
            $idFldVal = $this->tCmnSuperGlobals->query->get($idn);
            $this->setMySQLquery2Server($this->sQueryToDeleteSingleIdentifier([$tbl, $idn, $idFldVal]));
            $sReturn  = $this->setFeedbackModern('error', $tMsg['Confirmation'], $tMsg['Failed'])
                    . '(' . $this->mySQLconnection->error . ')';
            if ($this->mySQLconnection->affected_rows > 0) {
                $sReturn = $this->setFeedbackModern('check', $tMsg['Confirmation'], $tMsg['Success']);
            }
        }
        return $this->setViewDeletePackedFinal($sReturn);
    }
protected function setViewModernDelete ( $ tbl , $ idn ) { $ tMsg = $ this -> setViewDeleteFeedbacks ( ) ; if ( $ tbl == '' ) { $ sReturn = $ this -> setFeedbackModern ( 'error' , $ tMsg [ 'Confirmation' ] , $ tMsg [ 'Impossible' ] ) ; } else { $ this -> initializeSprGlbAndSession ( ) ; $ idFldVal = $ this -> tCmnSuperGlobals -> query -> get ( $ idn ) ; $ this -> setMySQLquery2Server ( $ this -> sQueryToDeleteSingleIdentifier ( [ $ tbl , $ idn , $ idFldVal ] ) ) ; $ sReturn = $ this -> setFeedbackModern ( 'error' , $ tMsg [ 'Confirmation' ] , $ tMsg [ 'Failed' ] ) . '(' . $ this -> mySQLconnection -> error . ')' ; if ( $ this -> mySQLconnection -> affected_rows > 0 ) { $ sReturn = $ this -> setFeedbackModern ( 'check' , $ tMsg [ 'Confirmation' ] , $ tMsg [ 'Success' ] ) ; } } return $ this -> setViewDeletePackedFinal ( $ sReturn ) ; }
Automatic handler for Record deletion

@param string $tbl
@param string $idn
@return string
Automatic handler for Record deletion