private function getFieldOutputEnumSet($tblSrc, $fldType, $val, $iar = [])
    {
        $adnlThings = $this->establishDefaultEnumSet($fldType);
        if (array_key_exists('readonly', $val)) {
            return $this->getFieldOutputEnumSetReadOnly($val, $adnlThings);
        }
        $inAdtnl = $adnlThings['additional'];
        if ($iar !== []) {
            $inAdtnl = array_merge($inAdtnl, $iar);
        }
        $vlSlct    = explode(',', $this->getFieldValue($val));
        $slctOptns = $this->getSetOrEnum2Array($tblSrc, $val['COLUMN_NAME']);
        return $this->setArrayToSelect($slctOptns, $vlSlct, $val['COLUMN_NAME'] . $adnlThings['suffix'], $inAdtnl);
    }
private function getFieldOutputEnumSet($tblSrc, $fldType, $val, $iar = [])
    {
        $adnlThings = $this->establishDefaultEnumSet($fldType);
        if (array_key_exists('readonly', $val)) {
            return $this->getFieldOutputEnumSetReadOnly($val, $adnlThings);
        }
        $inAdtnl = $adnlThings['additional'];
        if ($iar !== []) {
            $inAdtnl = array_merge($inAdtnl, $iar);
        }
        $vlSlct    = explode(',', $this->getFieldValue($val));
        $slctOptns = $this->getSetOrEnum2Array($tblSrc, $val['COLUMN_NAME']);
        return $this->setArrayToSelect($slctOptns, $vlSlct, $val['COLUMN_NAME'] . $adnlThings['suffix'], $inAdtnl);
    }
private function getFieldOutputEnumSet ( $ tblSrc , $ fldType , $ val , $ iar = [ ] ) { $ adnlThings = $ this -> establishDefaultEnumSet ( $ fldType ) ; if ( array_key_exists ( 'readonly' , $ val ) ) { return $ this -> getFieldOutputEnumSetReadOnly ( $ val , $ adnlThings ) ; } $ inAdtnl = $ adnlThings [ 'additional' ] ; if ( $ iar !== [ ] ) { $ inAdtnl = array_merge ( $ inAdtnl , $ iar ) ; } $ vlSlct = explode ( ',' , $ this -> getFieldValue ( $ val ) ) ; $ slctOptns = $ this -> getSetOrEnum2Array ( $ tblSrc , $ val [ 'COLUMN_NAME' ] ) ; return $ this -> setArrayToSelect ( $ slctOptns , $ vlSlct , $ val [ 'COLUMN_NAME' ] . $ adnlThings [ 'suffix' ] , $ inAdtnl ) ; }
Returns a Enum or Set field to use in form

@param string $tblSrc
@param string $fldType
@param array $val
@param array $iar
@return string
Returns a Enum or Set field to use in form