public function __construct($id_product = null, $full = false, $id_lang = null, $id_shop = null, Context $context = null) { parent::__construct($id_product, $full, $id_lang, $id_shop, $context); require_once _PS_MODULE_DIR_ . "ag_viewhelper/ag_viewhelper.php"; $this->description = ag_viewhelper::getHtmlCode($this->description); $this->description_short = ag_viewhelper::getHtmlCode($this->description_short); }
public function __construct($id = null, $id_lang = null, $id_shop = null) { require_once _PS_MODULE_DIR_ . "ag_viewhelper/ag_viewhelper.php"; parent::__construct($id, $id_lang, $id_shop); $this->content = ag_viewhelper::getHtmlCode($this->content); }