ottimizzazione Visualizzazione lista e singoli

This commit is contained in:
2025-08-29 13:02:28 +02:00
parent 22fb3c0871
commit 06e6a5e7ef
5 changed files with 32 additions and 144 deletions

View File

@ -7,15 +7,8 @@ use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
class HtmlView extends BaseHtmlView
{
public $items;
public $pagination;
public $state;
public function display($tpl = null)
{
$this->state = $this->get('State');
$this->items = $this->get('Items');
$this->pagination = $this->get('Pagination');
return parent::display($tpl);
return parent::display($tpl); // il template carica i moduli
}
}