Is not a good idea to get a partial in an action, is better in the
template.
In a component you can include a partial in the template like this:
<?php echo include_partial('module/partial', $params)?>
I use in several components without problem.
Manel
On 31 mar, 17:23, HAUSa <[email protected]>
wrote:
> In an action I can use $this->getPartial('system/email_template'), but
> that doesn't work in an component.
> How can I do this in a component?
--
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 [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-users?hl=en
To unsubscribe, reply using "remove me" as the subject.