TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
SectionViewHelper Class Reference
Inheritance diagram for SectionViewHelper:
AbstractTagBasedViewHelper AbstractViewHelper

Public Member Functions

 initializeArguments ()
 
 render ()
 
- Public Member Functions inherited from AbstractTagBasedViewHelper
 __construct ()
 
 initializeArguments ()
 
 initialize ()
 
- Public Member Functions inherited from AbstractViewHelper
 setRenderingContext (\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 prepareArguments ()
 

Protected Member Functions

 getTypoScriptFrontendController ()
 
- Protected Member Functions inherited from AbstractTagBasedViewHelper
 registerTagAttribute ($name, $type, $description, $required=false, $default=null)
 
 registerUniversalTagAttributes ()
 
- Protected Member Functions inherited from AbstractViewHelper
 callRenderMethod ()
 
 getLogger ()
 
 registerRenderMethodArguments ()
 

Protected Attributes

 $tagName = 'a'
 
- Protected Attributes inherited from AbstractTagBasedViewHelper
 $tagName = 'div'
 
 $tag
 
 $escapeOutput = false
 
- Protected Attributes inherited from AbstractViewHelper
 $controllerContext
 
 $objectManager
 

Detailed Description

A view helper for creating a link to a section. If baseUrl is used, the path part of the current URL is prefixed.

= Example =

<ce:link.section name="section">Jump to section</ce:link.section>

<output> Jump to section or Jump to section </output>

Definition at line 35 of file Link/SectionViewHelper.php.

Member Function Documentation

getTypoScriptFrontendController ( )
protected
Returns
TypoScriptFrontendController

Definition at line 77 of file Link/SectionViewHelper.php.

References $GLOBALS.

Referenced by SectionViewHelper\render().

initializeArguments ( )

Arguments initialization

Returns
void

Definition at line 47 of file Link/SectionViewHelper.php.

References AbstractTagBasedViewHelper\registerUniversalTagAttributes().

render ( )

Render the view helper

Returns
string

Definition at line 59 of file Link/SectionViewHelper.php.

References SectionViewHelper\getTypoScriptFrontendController().

Member Data Documentation

$tagName = 'a'
protected

Definition at line 40 of file Link/SectionViewHelper.php.