Zend_Db_Statement_Mysqli::columnCount PHP Method

columnCount() public method

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