protected function HtmlListExporter::setSettingsDefault in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/HtmlListExporter.php \AKlump\LoftDataGrids\HtmlListExporter::setSettingsDefault()
Setup default values on object data.
Child classes should implement like this, making sure you don't use setting name already defined in the parents.
protected function setSettingsDefault() {
parent::setSettingsDefault();
$this->settings->showSponsors = TRUE;
return $this;
}
Return value
{$this}
Overrides Exporter::setSettingsDefault
File
- vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ HtmlListExporter.php, line 10
Class
- HtmlListExporter
- Class HtmlListExporter
Namespace
AKlump\LoftDataGridsCode
protected function setSettingsDefault() {
parent::setSettingsDefault();
$this->settings->pageTag = 'h2';
return $this;
}