<?php
 namespace App\EntityList; class SupplierProducts extends \App\EntityList\GeneralAbstract { protected function loadDbTablesCfgs(): void { global $DBTSuppliersProducts, $DBTSuppliersProductsAssoc; $this->setMainTable($DBTSuppliersProducts, 'suppPr'); $this->addAllowedTable($DBTSuppliersProductsAssoc, 'assoc', 'suppPr.`id`=assoc.`idSupplierProduct`', 'LEFT'); } } 