Hi,

I am currently using this one:
https://gist.github.com/7ea87a96608f41e3a8af

It has a very simple extension for the normal agavi twig renderer,
which enables the developer to add an array of extensions in the
output_types.xml.

Regards,
  Jan

On Mon, Oct 15, 2012 at 11:00 AM, David Zülke
<[email protected]> wrote:
> Subclass the renderer, usually (initializing this at runtime would be quite 
> the mess I guess).
>
> David
>
>
> On 08.10.2012, at 16:22, [email protected] wrote:
>
>> Hi,
>>
>> I am using Twig for a project and had to add a filter. Since 
>> AgaviTwigRenderer::getEngine() is protected, there was no way to access 
>> Twig_Environment. I looked at the code for the other renderers and all of 
>> them are similar.
>>
>> What is the recommended way to add filters to a renderer?
>>
>> Peace,
>> Shoan.
>>
>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.agavi.org/mailman/listinfo/users
>>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
>



-- 

  http://dracoblue.net

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to