function Render()
    {
        if (!self::Guard()->Allow(Action::Read(), $this->content))
        {
            return '';
        }
        ContentTranslator::Singleton()->SetContent($this->content);
        $module = ClassFinder::CreateFrontendModule($this->content->GetType());
        $module->SetTreeItem($this->tree, $this->item);
        return $module->Render();
    }
function Render()
    {
        if (!self::Guard()->Allow(Action::Read(), $this->content))
        {
            return '';
        }
        ContentTranslator::Singleton()->SetContent($this->content);
        $module = ClassFinder::CreateFrontendModule($this->content->GetType());
        $module->SetTreeItem($this->tree, $this->item);
        return $module->Render();
    }
function Render ( ) { if ( ! self :: Guard ( ) -> Allow ( Action :: Read ( ) , $ this -> content ) ) { return '' ; } ContentTranslator :: Singleton ( ) -> SetContent ( $ this -> content ) ; $ module = ClassFinder :: CreateFrontendModule ( $ this -> content -> GetType ( ) ) ; $ module -> SetTreeItem ( $ this -> tree , $ this -> item ) ; return $ module -> Render ( ) ; }
Renders the content
@return string Returns the rendered content
Renders the content