From 610fb0d43bcbd5e9d2ec147a9145e97bfa68e87d Mon Sep 17 00:00:00 2001 From: Bruno Menezes Date: Tue, 10 Jun 2014 17:02:56 -0300 Subject: [PATCH] data e hora --- Controller/PrinterController.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/Controller/PrinterController.php b/Controller/PrinterController.php index 7f1154e..e3922e6 100755 --- a/Controller/PrinterController.php +++ b/Controller/PrinterController.php @@ -132,6 +132,7 @@ class PrinterController extends Controller $tmpfile = tempnam(sys_get_temp_dir(), 'impressoras'); $file = new \SplFileObject($tmpfile, 'w'); $writer = new CsvWriter($file); + $writer->writeItem(array('Id', 'Nome','Host','Serie','Local','Impressões')); $workflow->addWriter($writer); // Process the workflow -- libgit2 0.21.2