Browse Source

feat(symfony): Update the version of symfony

tags/0.2.0
parent
commit
7b4cb470f9
1 changed files with 10 additions and 10 deletions
  1. 10
    10
      Twig/PiwikExtension.php

+ 10
- 10
Twig/PiwikExtension.php View File

@@ -23,16 +23,16 @@ class PiwikExtension extends \Twig_Extension {
public function getFunctions() {
return array(
'setCustomVariable' => new \Twig_Function_Method($this, 'setCustomVariable'),
'getCustomVariableJS' => new \Twig_Function_Method($this, 'getCustomVariable'),
'trackSiteSearch' => new \Twig_Function_Method($this, 'trackSiteSearch'),
'addEcommerceItem' => new \Twig_Function_Method($this, 'addEcommerceItem'),
'trackEcommerceOrder' => new \Twig_Function_Method($this, 'trackEcommerceOrder'),
'trackEcommerceCartUpdate' => new \Twig_Function_Method($this, 'trackEcommerceCartUpdate'),
'setEcommerceView' => new \Twig_Function_Method($this, 'setEcommerceView'),
'setPiwikPageName' => new \Twig_Function_Method($this, 'setPageName'),
'setPiwikPageUrl' => new \Twig_Function_Method($this, 'setPageUrl'),
'setPiwikUser' => new \Twig_Function_Method($this, 'setPiwikUser'),
new \Twig_SimpleFunction('setCustomVariable', array($this, 'setCustomVariable')),
new \Twig_SimpleFunction('getCustomVariableJS', array($this, 'getCustomVariable')),
new \Twig_SimpleFunction('trackSiteSearch', array($this, 'trackSiteSearch')),
new \Twig_SimpleFunction('addEcommerceItem', array($this, 'addEcommerceItem')),
new \Twig_SimpleFunction('trackEcommerceOrder', array($this, 'trackEcommerceOrder')),
new \Twig_SimpleFunction('trackEcommerceCartUpdate', array($this, 'trackEcommerceCartUpdate')),
new \Twig_SimpleFunction('setEcommerceView', array($this, 'setEcommerceView')),
new \Twig_SimpleFunction('setPiwikPageName', array($this, 'setPageName')),
new \Twig_SimpleFunction('setPiwikPageUrl', array($this, 'setPageUrl')),
new \Twig_SimpleFunction('setPiwikUser', array($this, 'setPiwikUser')),
);
}

Loading…
Cancel
Save