Zend_Db_Statement_Mysqli::columnCount PHP 메소드

columnCount() 공개 메소드

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