Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/View/Export/CsvListView.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function initConfiguration()
*
* @return void (never returns)
*/
public function render()
public function render($actionName = null)
{
$this->templateVariableContainer = $this->baseRenderingContext->getTemplateVariableContainer();

Expand Down
2 changes: 1 addition & 1 deletion Classes/View/Export/ExcelListView.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Tx_PtExtlist_View_Export_ExcelListView extends Tx_PtExtlist_View_Export_Ab
/**
* Overwriting the render method to generate Excel output
*/
public function render()
public function render($actionName = null)
{
$this->init();

Expand Down
2 changes: 1 addition & 1 deletion Classes/View/Export/FluidListView.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function initConfiguration()
*
* @return void (never returns)
*/
public function render()
public function render($actionName = null)
{
ob_clean();

Expand Down
8 changes: 4 additions & 4 deletions Classes/View/Export/PdfListView.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Tx_PtExtlist_View_Export_PdfListView extends Tx_PtExtlist_View_Export_Abst
*/
protected $cssFilePath;


/**
* Initialize additional class properties
*/
Expand All @@ -80,7 +80,7 @@ public function initConfiguration()

$this->paperSize = strtolower($this->exportConfiguration->getSettings('paperSize'));
Tx_PtExtbase_Assertions_Assert::isNotEmptyString($this->paperSize, ['message' => 'No PaperSize given for the PDF output! 1322585559']);

$this->paperOrientation = $this->exportConfiguration->getSettings('paperOrientation');
Tx_PtExtbase_Assertions_Assert::isInArray($this->paperOrientation, ['portrait', 'landscape'], ['message' => 'The Orientation must either be portrait or landscape! 1322585560']);

Expand Down Expand Up @@ -115,7 +115,7 @@ public function loadDomPDFClasses()

/*
$includePath = $this->dompdfSourcePath . 'include/';

// load includes
require_once $includePath . 'dompdf.cls.php';
require_once $includePath . 'frame_tree.cls.php';
Expand Down Expand Up @@ -175,7 +175,7 @@ public function loadDomPDFClasses()
*
* @return void (never returns)
*/
public function render()
public function render($actionName = null)
{
$this->loadDomPDFClasses();

Expand Down
2 changes: 1 addition & 1 deletion Classes/View/Export/WkHtml2PdfListView.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function initConfiguration()
*
* Partly taken from https://code.google.com/p/wkhtmltopdf/wiki/IntegrationWithPhp
*/
public function render()
public function render($actionName = null)
{
$htmlDocument = $this->tempPdfBasePath . basename($this->tmp);

Expand Down