Skip to content

HTTPS clone URL

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…

    authored
    …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"

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

    authored
    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 …

    authored
    …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…

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

    authored
    …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…

    authored
    …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 …

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

    authored
    … 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…

    authored
    …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…

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

    authored
  3. Fixed directory structure

    authored
  4. Added getAttributeHolderVariables method to return the variables for …

    authored
    …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

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

    authored
    …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 github.com:henrikbjorn/sfTwigPlugin

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