/**
  * Gets a comma separated list of frontend user groups to use for the
  * document ID.
  *
  * @return    string    A comma separated list of frontend user groups.
  */
 protected function getDocumentIdGroups()
 {
     $groups = $this->pageAccessRootline->getGroups();
     $groups = tx_solr_access_Rootline::cleanGroupArray($groups);
     if (empty($groups)) {
         $groups[] = 0;
     }
     $groups = implode(',', $groups);
     return $groups;
 }
 /**
  * Gets the groups set as access restrictions on content elements present
  * on the current page.
  *
  * @return	array	An array of fe group IDs.
  */
 protected function getAccessGroupsFromContent()
 {
     $groupList = implode(',', self::$contentFrontendUserAccessGroups);
     $groups = t3lib_div::intExplode(',', $groupList);
     $groups = tx_solr_access_Rootline::cleanGroupArray($groups);
     if (empty($groups)) {
         $groups[] = 0;
     }
     return $groups;
 }