You are here

public function Exporter::addSetting in Loft Data Grids 6.2

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

Adds/Updates a single setting by name.

You can also use $this->getSettings()->{name} = {value}.

Parameters

string $name:

mixed $value:

Return value

$this

Overrides ExporterInterface::addSetting

3 calls to Exporter::addSetting()
Exporter::hidePageIds in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php
Set the exporter to hide page ids.
Exporter::setSettings in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php
Set the settings object.
Exporter::showPageIds in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php
Set the exporter to display page ids.

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php, line 72

Class

Exporter
Class Exporter

Namespace

AKlump\LoftDataGrids

Code

public function addSetting($name, $value) {
  $this->settings->{$name} = $value;
  return $this;
}