public function render($value) { $value = parent::render($value); if (!is_null($this->options['dateFormat'])) { $value = date($this->options['dateFormat'], strtotime($value)); } return $value; }
public function render($value) { $value = parent::render($value); $string = empty($this->options['enclosure']) ? '' : $this->options['enclosure']; $string .= implode($this->options['separator'], $this->decorateWhole($value)); $string .= empty($this->options['enclosure']) ? '' : $this->options['enclosure']; return $string; }
public function render($value) { $value = parent::render($value); if ($this->options['decimals']) { $value = gmGeneratorRounder::round($value, $this->options['decimals']); } return (double) parent::render($value); }
public function render($value) { $value = strval(parent::render($value)); if ($this->options['truncateTo'] != -1 && strlen($value) > $this->options['truncateTo']) { $value = substr($value, 0, $this->options['truncateTo'] - 3); $value .= '...'; } if ($this->options['capitalize']) { $value = ucfirst(strtolower($value)); } if ($this->options['uppercase']) { $value = strtoupper($value); } if ($this->options['lowercase']) { $value = strtolower($value); } return $value; }
public function render($value) { $value = parent::render($value); return $value ? $this->translate($this->options['trueRepresentation']) : $this->translate($this->options['falseRepresentation']); }
public function render($value) { $value = parent::render($value); return (int) parent::render($value); }
public function render($value) { return parent::render($value); }