<?php
namespace App\EntityList; class CorporateOfficeBankAccounts extends \App\EntityList\GeneralAbstract { protected function loadDbTablesCfgs(): void { global $DBTCorporatesOfficesBankAccounts, $DBTCorporatesOffices, $DBTBanks; $this->setMainTable($DBTCorporatesOfficesBankAccounts, 'corpOffBankAccounts'); $this->addAllowedTable($DBTCorporatesOffices, 'corpOffices', 'corpOffBankAccounts.idCorporateOffice=corpOffices.id', 'INNER'); $this->addAllowedTable($DBTBanks, 'banks', 'corpOffBankAccounts.idBank=banks.id', 'LEFT'); } public function setDefaultFilters(): void { } }