hapi:get.category  

    Gibt eine Kategorie als Fluid-Objekt zurück.
    Folgender Namespace muss im Templatefile gesetzt werden:
    {namespace hapi=TYPO3\BhHapi\ViewHelpers}

    Attribute

    NameBeschreibungTypedefaultrequired
    codeEs wird die Kategorie zu diesem Code ausgegebenstring-false
    asWird als Key für die Kategorie verwendetstringcategoryfalse

    Beispiel

    html
    <hapi:get.category code="CATEGORY_CODE_1"> {category.title} </hapi:get.category> <!-- oder --> <hapi:get.package package="PACKAGE_1" as="myPackage"> {myPackage.title} </hapi:get.package> <!-- oder --> <!-- url = http://www.example.com/de/pauschalen/detail/?hapi-package=PACKAGE_1 --> <hapi:get.package considerRequestParameter="true"> {package.title} </hapi:get.package>

    Ausgabe

    html
    Angebote Sommer