public function Footer() { $width = $this->getPageWidth() - $this->leftMargin * 2; $this->SetFont(null, '', $this->fSizeMedium); $this->SetY($this->getPageHeight() - $this->footerY); $x = $this->GetX(); $this->Cell($width, 5, $this->calendarName, 0, 0, 'L'); $this->SetX($x); $this->Cell($width, 5, $this->GetPage(), 0, 0, 'C'); $this->SetX($x); $this->Cell($width, 5, \GO\Base\Util\Date::format(date('Y-m-d H:i')), 0, 0, 'R'); }
public function formatFormOutput($key, &$attributes, \GO\Customfields\Model\AbstractCustomFieldsRecord $model) { return \GO\Base\Util\Date::format($attributes[$key], false); }