Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 11, 2011
  1. Compatibility with Twig >1.0.0-RC1

    Anton Ryzhov authored
Commits on Feb 23, 2010
  1. New Twig Version. Removed symfony autoloaded and using the Twig Autol…

    …oader instead (Thanks to Kris Wallsmith)
  2. @kriswallsmith

    Whitespace changes

    kriswallsmith authored committed
Commits on Feb 21, 2010
Commits on Feb 11, 2010
  1. Revert "removed helpers as filters"

    This reverts commit 00e4bad.
  2. Revert "Example implementation of the «sf» tag."

    This reverts commit 5c84d4f.
  3. Example implementation of the «sf» tag.

    Fabien Potencier authored committed
  4. removed helpers as filters

    Romain Dorgueil authored committed
Commits on Feb 1, 2010
Commits on Jan 16, 2010
  1. Moved the filter down to the renderFile method, since the only thing …

    …is called is the event. No need for a method and less loc is nice :)
  2. Chaining the template.filter_parameters class, no need to set a varia…

    …ble, just return the values.
  3. Fixed replacement for toArray() allow for template.filter_parameters …

    …to be filtered, and makes access to default template parameters.
Commits on Jan 15, 2010
Commits on Jan 13, 2010
  1. Added sfTwigEnvironment so Filters that gets the environment passed t…

    …o them will have access to sfContext without sfContext::getInstance
Commits on Jan 12, 2010
  1. removed getExtension() and added it as a class variable instead. And …

    …added phpdoc to the $extension variable
  2. sfTwigPartialView fixing bug where it wasnt possible to render global…

    … partials. sfTwigView optimized the rendering process since the default sfPHPView will check the firs etc for us, we just extract the directory path from $_sfFile same when rendering the template. This still allows for inclusing from the same dir, else include_partial will work with "module/partial" / "partial
Commits on Jan 11, 2010
Commits on Jan 10, 2010
  1. readded Settings.yml with a sf_twig_extensions option, the class name…

    …s in that setting will be auto added as extensions into Twig_Environment.
Commits on Jan 9, 2010
  1. Fixed bug where partials would be decorated, moved some configuration…

    … out of the constructor to twig environment
  2. ups missing __

  3. Fixed directory structure

  4. Added getAttributeHolderVariables method to return the variables for …

    …the current rendering. Which merges $this into the variables. and will allow for overriding and having default variables present. Warning. the merged variables will always win! (Uses sfToolkit::arrayDeepMerge()). Added phpDoc to the class variables..
Commits on Jan 8, 2010
  1. Twig Update

  2. Started to port the Filters to the new object style (new Twig_Filter_…

    …Function(include_partial)) but there must be a better way than by hand :/. Fixed up the sfTwigPartialView so we can use actual partials in our templates (ROCK ON!!!!)
  3. Rewrote the sfTwigView to use one loader which is possible with the s…

    Bamboo authored
    …etPaths() method. Removed the settings.yml because of sf_debug is more accurate and provides developer with less configuration to get going.
Commits on Jan 7, 2010
  1. Added a filter to check if the directories exist.

    Marijn Huizendveld authored
Commits on Oct 14, 2009
  1. Merge

    Henrik Bjørnskov authored
Something went wrong with that request. Please try again.