<?php
namespace App\EntityList; class Banks extends \App\EntityList\GeneralAbstract { protected function loadDbTablesCfgs(): void { global $DBTBanks, $DBTBankOffices; $this->setMainTable($DBTBanks, 'banks'); $this->addAllowedTable($DBTBankOffices, 'bankOffices', 'banks.id=bankOffices.idBank', 'INNER'); } }