private function setNeededFieldByType($tblName, $dtls, $features)
    {
        if (isset($features['special']) && isset($features['special'][$dtls['COLUMN_NAME']])) {
            $sOpt = $this->setMySQLquery2Server($features['special'][$dtls['COLUMN_NAME']], 'array_key_value');
            return $this->setArrayToSelect($sOpt, $this->getFieldValue($dtls), $dtls['COLUMN_NAME'], ['size' => 1]);
        }
        return $this->setNeededFieldKnown($tblName, $dtls, $features);
    }
private function setNeededFieldByType($tblName, $dtls, $features)
    {
        if (isset($features['special']) && isset($features['special'][$dtls['COLUMN_NAME']])) {
            $sOpt = $this->setMySQLquery2Server($features['special'][$dtls['COLUMN_NAME']], 'array_key_value');
            return $this->setArrayToSelect($sOpt, $this->getFieldValue($dtls), $dtls['COLUMN_NAME'], ['size' => 1]);
        }
        return $this->setNeededFieldKnown($tblName, $dtls, $features);
    }
private function setNeededFieldByType ( $ tblName , $ dtls , $ features ) { if ( isset ( $ features [ 'special' ] ) && isset ( $ features [ 'special' ] [ $ dtls [ 'COLUMN_NAME' ] ] ) ) { $ sOpt = $ this -> setMySQLquery2Server ( $ features [ 'special' ] [ $ dtls [ 'COLUMN_NAME' ] ] , 'array_key_value' ) ; return $ this -> setArrayToSelect ( $ sOpt , $ this -> getFieldValue ( $ dtls ) , $ dtls [ 'COLUMN_NAME' ] , [ 'size' => 1 ] ) ; } return $ this -> setNeededFieldKnown ( $ tblName , $ dtls , $ features ) ; }
Analyse the field type and returns the proper lines 2 use in forms

@param string $tblName
@param array $dtls
@param array $features
@return string|array
Analyse the field type and returns the proper lines 2 use in forms