search/plugins/ezsolr/ezsolr.php
function guid( $contentObject, $languageCode = '' )
    {
        if ( !$contentObject instanceof eZContentObject )
            return md5( self::installationID() . '-' . $contentObject . '-' . $languageCode );

        return md5( self::installationID() . '-' . $contentObject->attribute( 'id' ) . '-' . $languageCode );
    }
function guid( $contentObject, $languageCode = '' )
    {
        if ( !$contentObject instanceof eZContentObject )
            return md5( self::installationID() . '-' . $contentObject . '-' . $languageCode );

        return md5( self::installationID() . '-' . $contentObject->attribute( 'id' ) . '-' . $languageCode );
    }
function guid ( $ contentObject , $ languageCode = '' ) { if ( ! $ contentObject instanceof eZContentObject ) return md5 ( self :: installationID ( ) . '-' . $ contentObject . '-' . $ languageCode ) ; return md5 ( self :: installationID ( ) . '-' . $ contentObject -> attribute ( 'id' ) . '-' . $ languageCode ) ; }
Computes the unique ID of a content object language version

@param eZContentObject|int $contentObject The content object OR content object Id
@param string $languageCode
@return string guid
Computes the unique ID of a content object language version