ViewHelpers
in package
This is the ViewHelpers class.
This class centralizes the creation of all the ViewHelpers for a certain 'Theme' and 'Language', and provides them through get methods.
Tags
Table of Contents
__construct() | Constructor. It initializes all the ViewHelpers for the given theme and languageSheet. | : mixed |
---|---|---|
getBasket() | This method returns the BasketViewHelper. | : ViewHelper |
getBlog() | This method returns the BlogViewHelper. | : ViewHelper |
getCategory() | This method returns the CategoryViewHelper. | : ViewHelper |
getDocument() | This method returns the DocumentViewHelper. | : ViewHelper |
getForm() | This method returns the FormViewHelper. | : ViewHelper |
getPage() | This method returns the PageViewHelper. | : ViewHelper |
getProduct() | This method returns the ProductViewHelper. | : ViewHelper |
getThirdParty() | This method returns the ThirdPartyViewHelper. | : ViewHelper |
getUser() | This method returns the UserViewHelper. | : ViewHelper |
getUtil() | This method returns the UtilViewHelper. | : ViewHelper |
Methods
__construct()
Constructor. It initializes all the ViewHelpers for the given theme and languageSheet.
public
__construct(Language $languageSheet, Theme $theme, Session|null $session) : mixed
Parameters
Return values
mixed —getBasket()
This method returns the BasketViewHelper.
public
getBasket() : ViewHelper
Return values
ViewHelper —getBlog()
This method returns the BlogViewHelper.
public
getBlog() : ViewHelper
Return values
ViewHelper —getCategory()
This method returns the CategoryViewHelper.
public
getCategory() : ViewHelper
Return values
ViewHelper —getDocument()
This method returns the DocumentViewHelper.
public
getDocument() : ViewHelper
Return values
ViewHelper —getForm()
This method returns the FormViewHelper.
public
getForm() : ViewHelper
Return values
ViewHelper —getPage()
This method returns the PageViewHelper.
public
getPage() : ViewHelper
Return values
ViewHelper —getProduct()
This method returns the ProductViewHelper.
public
getProduct() : ViewHelper
Return values
ViewHelper —getThirdParty()
This method returns the ThirdPartyViewHelper.
public
getThirdParty() : ViewHelper
Return values
ViewHelper —getUser()
This method returns the UserViewHelper.
public
getUser() : ViewHelper
Return values
ViewHelper —getUtil()
This method returns the UtilViewHelper.
public
getUtil() : ViewHelper