AFAIK include_slot has only 1 parameter. You may be thinking of the slot() helper as mentioned here:

http://www.symfony-project.org/gentle-introduction/1_4/en/07-Inside-the-View-Layer#chapter_07_sub_slots

On 02/03/2011 12:35, Sebastian Göttschkes wrote:
Hi,

I was trying to do the following:
<?php include_slot('test','0') ?>

To my surpirse, if the slot test is not set, it shows nothing at all
and even if the slot is set to '0' it shows nothing at all. If I
change it to '1' it works as expected.

Am I doing something wrong?

Regards,
Sebastian


--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to