src/Mysql/Query/Insert.php
private function _setId($pId)
    {
        $idField = ItemInterface::IDFIELD;

        if (! isset($this->_fields[$idField])
            or ! $this->_fields[$idField]) {
            $this->_fields[$idField] = $pId;
        }

        return $this;
    }
private function _setId($pId)
    {
        $idField = ItemInterface::IDFIELD;

        if (! isset($this->_fields[$idField])
            or ! $this->_fields[$idField]) {
            $this->_fields[$idField] = $pId;
        }

        return $this;
    }
private function _setId ( $ pId ) { $ idField = ItemInterface :: IDFIELD ; if ( ! isset ( $ this -> _fields [ $ idField ] ) or ! $ this -> _fields [ $ idField ] ) { $ this -> _fields [ $ idField ] = $ pId ; } return $ this ; }
Set the insertion ID.

@param string $pId
@return Insert
Set the insertion ID .