function formatValue() { $value = $this->getValue(); $format_type = $this->getFormatType(); if ($format_type != '') { $value = rexFormatter::format($value, $format_type, $this->getFormat()); } return $value; }
function format($row) { global $I18N; $format = parent::format($row); if (strlen($format) != 0) { return $format; } $value = $row[$this->name]; if ($this->format_type == '') { if ($this->format == '') { $this->format = '%' . $this->name . '%'; } // Alle Spaltenamen ersetzen durch deren Werte %id%, %name%, etc. $value = $this->parseString($this->format, $row); } else { $value = rexFormatter::format($value, $this->format_type, $this->format); } return $this->link($value, $this->parseParams($row)); }