
- $user = $period->user
- $generationTime = DateHelper::formatDateTime($period->report_generation_date)

- $this->setPageTitle(t("Export - {server_name} - {year}_{month} - {gate_sn} - {start_time} - {end_time}", array('{server_name}' => t($eventServer->locality), '{year}' => t($startDate->format('Y')), '{month}' => t($startDate->format('m')), '{gate_sn}' => t(($gate>0)?$gate:"ALL"), '{start_time}' => DateHelper::formatFileDateTime($startDate), '{end_time}' => DateHelper::formatFileDateTime($endDate), '{generationTime}' => $generationTime) ))

- $appLanguage = Yii::app()->language
- $this->renderPartial("_titlePage_{$appLanguage}", array('eventServer' => $eventServer, 'gate'=> $gate, 'startDate' => $startDate, 'endDate' => $endDate, 'exportedEvents' => $exportedEvents, 'exportedEvents' => $exportedEvents, 'numOfExported' => $numOfExported, 'numOfDeletes' => $numOfDeletes))

%hr.report
  - $this->renderPartial("_table", array('exportedEvents' => $exportedEvents))

