Exemplo n.º 1
0
 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');
 }
Exemplo n.º 2
0
 public function formatFormOutput($key, &$attributes, \GO\Customfields\Model\AbstractCustomFieldsRecord $model)
 {
     return \GO\Base\Util\Date::format($attributes[$key], false);
 }