Contao\Database\Result::fetchField PHP Méthode

fetchField() public méthode

Get the column information and return it as array
public fetchField ( integer $intOffset ) : array
$intOffset integer The field offset
Résultat array An array with the column information
    public function fetchField($intOffset = 0)
    {
        $arrFields = array_values($this->resultSet[$this->intIndex]);
        return $arrFields[$intOffset];
    }