Example #1
0
 /**
  * getCommonAttributes
  *
  * @return array
  */
 protected function getCommonAttributes()
 {
     $attributes = parent::getCommonAttributes();
     $attributes['data-decimal-delim'] = $this->getParam(self::PARAM_DECIMAL_SEPARATOR);
     $attributes['data-thousand-delim'] = $this->getParam(self::PARAM_THOUSAND_SEPARATOR);
     $e = $this->getE();
     if (isset($e)) {
         $attributes['data-e'] = $e;
     }
     return $attributes;
 }
Example #2
0
 /**
  * getCommonAttributes
  *
  * @return array
  */
 protected function getCommonAttributes()
 {
     $attributes = parent::getCommonAttributes();
     $attributes['data-decimal-delim'] = \XLite\Core\Config::getInstance()->General->decimal_delim;
     $attributes['data-thousand-delim'] = \XLite\Core\Config::getInstance()->General->thousand_delim;
     $e = $this->getE();
     if (isset($e)) {
         $attributes['data-e'] = $e;
     }
     return $attributes;
 }