protected function _reindex($force = false)
    {
        $id = $this->getMimeId();

        if (($this->_status & self::STATUS_REINDEX) ||
            ($force && is_null($id))) {
            $this->buildMimeIds(
                is_null($id)
                    ? (($this->getPrimaryType() === 'multipart') ? '0' : '1')
                    : $id
            );
        }
    }
protected function _reindex($force = false)
    {
        $id = $this->getMimeId();

        if (($this->_status & self::STATUS_REINDEX) ||
            ($force && is_null($id))) {
            $this->buildMimeIds(
                is_null($id)
                    ? (($this->getPrimaryType() === 'multipart') ? '0' : '1')
                    : $id
            );
        }
    }
protected function _reindex ( $ force = false ) { $ id = $ this -> getMimeId ( ) ; if ( ( $ this -> _status & self :: STATUS_REINDEX ) || ( $ force && is_null ( $ id ) ) ) { $ this -> buildMimeIds ( is_null ( $ id ) ? ( ( $ this -> getPrimaryType ( ) === 'multipart' ) ? '0' : '1' ) : $ id ) ; } }
Reindexes the MIME IDs, if necessary.

@param boolean $force  Reindex if the current part doesn't have an ID.
Reindexes the MIME IDs if necessary .