static function FindContentRights(Content $content)
    {
        $result = null;
        $currContent = $content;
        do
        {
            $result = $currContent->GetUserGroupRights();
            $currContent = ContentTreeUtil::ParentOf($currContent);
        } 
        while (!$result && $currContent);
        if ($result)
        {
            return $result;
        }
        return self::GetUpperContentRights($content);
    }
static function FindContentRights(Content $content)
    {
        $result = null;
        $currContent = $content;
        do
        {
            $result = $currContent->GetUserGroupRights();
            $currContent = ContentTreeUtil::ParentOf($currContent);
        } 
        while (!$result && $currContent);
        if ($result)
        {
            return $result;
        }
        return self::GetUpperContentRights($content);
    }
static function FindContentRights ( Content $ content ) { $ result = null ; $ currContent = $ content ; do { $ result = $ currContent -> GetUserGroupRights ( ) ; $ currContent = ContentTreeUtil :: ParentOf ( $ currContent ) ; } while ( ! $ result && $ currContent ) ; if ( $ result ) { return $ result ; } return self :: GetUpperContentRights ( $ content ) ; }
Finds the content rigths by searching in element tree
@param Content $content The content
@return BackendContentRights The rights of the contents
Finds the content rigths by searching in element tree