<?php
 namespace App\EntityList; class AriaChats extends \App\EntityList\GeneralAbstract { protected function loadDbTablesCfgs(): void { global $DBTAriaChats, $DBTAriaChatMessages; $this->setMainTable($DBTAriaChats, 'ariaChats'); $this->addAllowedTable($DBTAriaChatMessages, 'ariaChatMessages', 'ariaChatMessages.idChat=ariaChats.id', 'INNER'); } } 