public static function getPageDocumentId($uid, $typeNum = 0, $language = 0, $accessGroups = '0,-1', $mountPointParameter = '')
    {
        $additionalParameters = $typeNum . '/' . $language . '/' . $accessGroups;

        if ((string)$mountPointParameter !== '') {
            $additionalParameters = $mountPointParameter . '/' . $additionalParameters;
        }

        $documentId = self::getDocumentId('pages', $uid, $uid, $additionalParameters);

        return $documentId;
    }
public static function getPageDocumentId($uid, $typeNum = 0, $language = 0, $accessGroups = '0,-1', $mountPointParameter = '')
    {
        $additionalParameters = $typeNum . '/' . $language . '/' . $accessGroups;

        if ((string)$mountPointParameter !== '') {
            $additionalParameters = $mountPointParameter . '/' . $additionalParameters;
        }

        $documentId = self::getDocumentId('pages', $uid, $uid, $additionalParameters);

        return $documentId;
    }
public static function getPageDocumentId ( $ uid , $ typeNum = 0 , $ language = 0 , $ accessGroups = '0,-1' , $ mountPointParameter = '' ) { $ additionalParameters = $ typeNum . '/' . $ language . '/' . $ accessGroups ; if ( ( string ) $ mountPointParameter !== '' ) { $ additionalParameters = $ mountPointParameter . '/' . $ additionalParameters ; } $ documentId = self :: getDocumentId ( 'pages' , $ uid , $ uid , $ additionalParameters ) ; return $ documentId ; }
Generates a document id for documents representing page records.

@param int $uid The page's uid
@param int $typeNum The page's typeNum
@param int $language the language id, defaults to 0
@param string $accessGroups comma separated list of uids of groups that have access to that page
@param string $mountPointParameter The mount point parameter that is used to access the page.
@return string The document id for that page
Generates a document id for documents representing page records .