public function hasAutoincrement()
    {
        foreach ($this->_columns as $column) {
            if (isset($column['autoIncrement']) && $column['autoIncrement']) {
                return true;
            }
        }

        return false;
    }
public function hasAutoincrement()
    {
        foreach ($this->_columns as $column) {
            if (isset($column['autoIncrement']) && $column['autoIncrement']) {
                return true;
            }
        }

        return false;
    }
public function hasAutoincrement ( ) { foreach ( $ this -> _columns as $ column ) { if ( isset ( $ column [ 'autoIncrement' ] ) && $ column [ 'autoIncrement' ] ) { return true ; } } return false ; }
Check whether or not a table has an autoIncrement column defined.

@return bool
Check whether or not a table has an autoIncrement column defined .