Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * 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);
 }