protected function getDocumentIdGroups(Rootline $pageAccessRootline)
    {
        $groups = $pageAccessRootline->getGroups();
        $groups = Rootline::cleanGroupArray($groups);

        if (empty($groups)) {
            $groups[] = 0;
        }

        $groups = implode(',', $groups);

        return $groups;
    }
protected function getDocumentIdGroups(Rootline $pageAccessRootline)
    {
        $groups = $pageAccessRootline->getGroups();
        $groups = Rootline::cleanGroupArray($groups);

        if (empty($groups)) {
            $groups[] = 0;
        }

        $groups = implode(',', $groups);

        return $groups;
    }
protected function getDocumentIdGroups ( Rootline $ pageAccessRootline ) { $ groups = $ pageAccessRootline -> getGroups ( ) ; $ groups = Rootline :: cleanGroupArray ( $ groups ) ; if ( empty ( $ groups ) ) { $ groups [ ] = 0 ; } $ groups = implode ( ',' , $ groups ) ; return $ groups ; }
Gets a comma separated list of frontend user groups to use for the
document ID.

@param Rootline $pageAccessRootline
@return string A comma separated list of frontend user groups.
Gets a comma separated list of frontend user groups to use for the document ID .