Predisposizione lista circolari
This commit is contained in:
21
site/src/View/Circolari/HtmlView.php
Normal file
21
site/src/View/Circolari/HtmlView.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace Pcrt\Component\Circolari\Site\View\Circolari;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user