private function GrantOnContent(Content $content)
    {
       $groups = MembergroupUtil::ContentMembergroups($content);
       return $this->GrantByProperties($content->GetGuestsOnly(), $content->GetPublish(), 
               $content->GetPublishFrom(), $content->GetPublishTo(), $groups);
    }
private function GrantOnContent(Content $content)
    {
       $groups = MembergroupUtil::ContentMembergroups($content);
       return $this->GrantByProperties($content->GetGuestsOnly(), $content->GetPublish(), 
               $content->GetPublishFrom(), $content->GetPublishTo(), $groups);
    }
private function GrantOnContent ( Content $ content ) { $ groups = MembergroupUtil :: ContentMembergroups ( $ content ) ; return $ this -> GrantByProperties ( $ content -> GetGuestsOnly ( ) , $ content -> GetPublish ( ) , $ content -> GetPublishFrom ( ) , $ content -> GetPublishTo ( ) , $ groups ) ; }
Checks access to a content
@param Content $content The content
@return GrantResult The result of the check
Checks access to a content