public function getAutoIncrementString()
    {
        if ($this->isAutoIncrement() && IdMethod::NATIVE === $this->parentTable->getIdMethod()) {
            return $this->getPlatform()->getAutoIncrement();
        }

        if ($this->isAutoIncrement()) {
            throw new EngineException(sprintf(
                'You have specified autoIncrement for column "%s", but you have not specified idMethod="native" for table "%s".',
                $this->name,
                $this->parentTable->getName()
            ));
        }

        return '';
    }
public function getAutoIncrementString()
    {
        if ($this->isAutoIncrement() && IdMethod::NATIVE === $this->parentTable->getIdMethod()) {
            return $this->getPlatform()->getAutoIncrement();
        }

        if ($this->isAutoIncrement()) {
            throw new EngineException(sprintf(
                'You have specified autoIncrement for column "%s", but you have not specified idMethod="native" for table "%s".',
                $this->name,
                $this->parentTable->getName()
            ));
        }

        return '';
    }
public function getAutoIncrementString ( ) { if ( $ this -> isAutoIncrement ( ) && IdMethod :: NATIVE === $ this -> parentTable -> getIdMethod ( ) ) { return $ this -> getPlatform ( ) -> getAutoIncrement ( ) ; } if ( $ this -> isAutoIncrement ( ) ) { throw new EngineException ( sprintf ( 'You have specified autoIncrement for column "%s", but you have not specified idMethod="native" for table "%s".' , $ this -> name , $ this -> parentTable -> getName ( ) ) ) ; } return '' ; }
Returns the auto-increment string.

@return string
Returns the auto - increment string .