private function getFieldOutputText($tbl, $fieldType, $value, $iar = [])
    {
        if (!in_array($fieldType, ['char', 'tinytext', 'varchar'])) {
            return '';
        }
        $foreignKeysArray = $this->getFieldOutputTextPrerequisites($tbl, $value);
        if ($foreignKeysArray !== []) {
            return $this->getFieldOutputTextFK($foreignKeysArray, $value, $iar);
        }
        return $this->getFieldOutputTextNonFK($value, $iar);
    }
private function getFieldOutputText($tbl, $fieldType, $value, $iar = [])
    {
        if (!in_array($fieldType, ['char', 'tinytext', 'varchar'])) {
            return '';
        }
        $foreignKeysArray = $this->getFieldOutputTextPrerequisites($tbl, $value);
        if ($foreignKeysArray !== []) {
            return $this->getFieldOutputTextFK($foreignKeysArray, $value, $iar);
        }
        return $this->getFieldOutputTextNonFK($value, $iar);
    }
private function getFieldOutputText ( $ tbl , $ fieldType , $ value , $ iar = [ ] ) { if ( ! in_array ( $ fieldType , [ 'char' , 'tinytext' , 'varchar' ] ) ) { return '' ; } $ foreignKeysArray = $ this -> getFieldOutputTextPrerequisites ( $ tbl , $ value ) ; if ( $ foreignKeysArray !== [ ] ) { return $ this -> getFieldOutputTextFK ( $ foreignKeysArray , $ value , $ iar ) ; } return $ this -> getFieldOutputTextNonFK ( $ value , $ iar ) ; }
Returns a Char field 2 use in a form

@param string $tbl
@param string $fieldType
@param array $value
@param array $iar
@return string
Returns a Char field 2 use in a form