HTML formatted text for custom entities
2 Attachment(s)
I have a custom model "Author" whose entities aren't multi-lingual.
Code:
namespace XLite\Module\EdB\Librairie\Model; Code:
/** Code:
public function getDescription() Now, my problem is that as these entities are not multilingual and the class Author doesn't extend \XLite\Model\Base\Catalog, I seem to get into trouble to format the description. I tried to put Code:
public function getViewDescription() So I tried to put Code:
public function describeAuthor() but, this outputs unformatted html code as in the first attached image. If I put Code:
echo $value Even though this last approach works, I think there should be a better way to achieve the same result. That is:
|
Re: HTML formatted text for custom entities
Are you using a View Class?
|
All times are GMT -8. The time now is 08:52 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.