/** * Render the value as an array * * @param mixed $value * @param bool $escapeHtml * @return $array */ public function getValueAsArray($value, $escapeHtml = false) { if (strpos($value, Mage::helper('dibspw')->__('DIBSPW_LABEL_18')) !== FALSE) { $escapeHtml = false; } return parent::getValueAsArray($value, $escapeHtml); }
/** * Render the value as an array * * @param mixed $value * @param bool $escapeHtml * @return $array */ public function getValueAsArray($value, $escapeHtml = false) { if (self::detectDibsCgiButtons($value) || strpos($value, Mage::helper('dibsfw')->__('DIBSFW_LABEL_18')) !== FALSE) { $escapeHtml = false; } return parent::getValueAsArray($value, $escapeHtml); }