An abstract view helper, to be implemented by view helpers
that need to be ServiceLocatorAware
Methods
A helper method to access the application config more easily
in view helpers.
getApplicationConfig() : array
Inherited
| inherited_from |
\HexCommon\View\Helper\ServiceLocatorAwareHelper::getApplicationConfig() |
Returns
array
getGaAccount()
getGaAccount()
Get the service locator.
getServiceLocator() : \Zend\ServiceManager\ServiceLocatorInterface
Inherited
| inherited_from |
\HexCommon\View\Helper\ServiceLocatorAwareHelper::getServiceLocator() |
Returns
\Zend\ServiceManager\ServiceLocatorInterface
isGoogleAnalyticsEnabled()
isGoogleAnalyticsEnabled()
setGaAccount()
setGaAccount($gaAccount)
Set the service locator.
setServiceLocator(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : \Zend\View\Helper\AbstractHelper
Inherited
| inherited_from |
\HexCommon\View\Helper\ServiceLocatorAwareHelper::setServiceLocator() |
Parameters
$serviceLocator
\Zend\ServiceManager\ServiceLocatorInterfaceThe service locator to set
Returns
\Zend\View\Helper\AbstractHelper