<?php
 namespace App\QuickReports\PivotTables; class Configs extends \App\EntityPreference\BaseAbstract { protected $field_idEntityName='pivotSource'; protected $field_lastUpdateUser = null; protected $field_lastUpdateTime = null; protected function setDbTableName() { global $DBTPivotTablesConfigs; $this->DBTEntityPreferences = $DBTPivotTablesConfigs; } protected function setEntityId($id) { if (!strlen($id)) throw new \Exception('Pivot table source is not valid'); $this->id = $id; } }