Author: fabien
Date: 2010-02-15 15:45:09 +0100 (Mon, 15 Feb 2010)
New Revision: 28033
Modified:
branches/2.0/src/Symfony/Components/Templating/Engine.php
Log:
Merge branch 'master' of git://github.com/symfony/symfony
Modified: branches/2.0/src/Symfony/Components/Templating/Engine.php
===================================================================
--- branches/2.0/src/Symfony/Components/Templating/Engine.php 2010-02-15
13:19:27 UTC (rev 28032)
+++ branches/2.0/src/Symfony/Components/Templating/Engine.php 2010-02-15
14:45:09 UTC (rev 28033)
@@ -133,6 +133,19 @@
}
/**
+ * Outputs a rendered template.
+ *
+ * @param string $name A template name
+ * @param array $parameters An array of parameters to pass to the template
+ *
+ * @see render()
+ */
+ public function output($name, array $parameters = array())
+ {
+ echo $this->render($name, $parameters);
+ }
+
+ /**
* Gets a helper value.
*
* @param string $name The helper name
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.