You are here

public function XLSXExporter::setTitle in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/XLSXExporter.php \AKlump\LoftDataGrids\XLSXExporter::setTitle()

Set a title for the exported document

Return value

$this

Overrides Exporter::setTitle

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/XLSXExporter.php, line 48

Class

XLSXExporter
Class XLSXExporter

Namespace

AKlump\LoftDataGrids

Code

public function setTitle($title) {
  parent::setTitle($title);
  $this->excel
    ->getProperties()
    ->setTitle($title);
}