SAKRA WebStudio
Tuesday, November 9, 2010
Get Raw Data in the Template in Symfony
echo $page->getRawValue()->getContent();
The $page variable is the model object and the getContent method gets the content column/text which contains HTML tags... To avoid html entities, you have to use the getRawValue method.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment