protected function getSetOrEnum2Array($refTbl, $refCol)
    {
        $dat = $this->establishDatabaseAndTable($refTbl);
        foreach ($this->advCache['tableStructureCache'][$dat[0]][$dat[1]] as $vle) {
            if ($vle['COLUMN_NAME'] == $refCol) {
                $kVl = explode('\',\'', substr($vle['COLUMN_TYPE'], strlen($vle['DATA_TYPE']) + 2, -2));
                $fVl = array_combine($kVl, $kVl);
                if ($vle['IS_NULLABLE'] === 'YES') {
                    $fVl['NULL'] = '';
                }
            }
        }
        ksort($fVl);
        return $fVl;
    }
protected function getSetOrEnum2Array($refTbl, $refCol)
    {
        $dat = $this->establishDatabaseAndTable($refTbl);
        foreach ($this->advCache['tableStructureCache'][$dat[0]][$dat[1]] as $vle) {
            if ($vle['COLUMN_NAME'] == $refCol) {
                $kVl = explode('\',\'', substr($vle['COLUMN_TYPE'], strlen($vle['DATA_TYPE']) + 2, -2));
                $fVl = array_combine($kVl, $kVl);
                if ($vle['IS_NULLABLE'] === 'YES') {
                    $fVl['NULL'] = '';
                }
            }
        }
        ksort($fVl);
        return $fVl;
    }
protected function getSetOrEnum2Array ( $ refTbl , $ refCol ) { $ dat = $ this -> establishDatabaseAndTable ( $ refTbl ) ; foreach ( $ this -> advCache [ 'tableStructureCache' ] [ $ dat [ 0 ] ] [ $ dat [ 1 ] ] as $ vle ) { if ( $ vle [ 'COLUMN_NAME' ] == $ refCol ) { $ kVl = explode ( '\',\'' , substr ( $ vle [ 'COLUMN_TYPE' ] , strlen ( $ vle [ 'DATA_TYPE' ] ) + 2 , - 2 ) ) ; $ fVl = array_combine ( $ kVl , $ kVl ) ; if ( $ vle [ 'IS_NULLABLE' ] === 'YES' ) { $ fVl [ 'NULL' ] = '' ; } } } ksort ( $ fVl ) ; return $ fVl ; }
Returns an array with possible values of a SET or ENUM column

@param string $refTbl
@param string $refCol
@return array
Returns an array with possible values of a SET or ENUM column