Zend_Db_Statement_Mysqli::columnCount PHP Méthode

columnCount() public méthode

Returns null if the statement has no result set metadata.
public columnCount ( ) : integer
Résultat integer The number of columns.
    public function columnCount()
    {
        if (isset($this->_meta) && $this->_meta) {
            return $this->_meta->field_count;
        }
        return 0;
    }