C3 Front End Model for Item, Test: localhost/index.php?option=com_depot&view=part&id=1

This commit is contained in:
2023-11-19 12:14:40 +01:00
parent bedb36c136
commit 464f7bd1ac
6 changed files with 119 additions and 4 deletions

View File

@@ -0,0 +1,27 @@
<?php
/**
* @package Depot.Site
* @subpackage com_depot
* @author Thomas Kuschel <thomas@kuschel.at>
* @copyright (C) 2023 KW4NZ, <https://www.kuschel.at>
* @license GNU General Public License version 2 or later; see LICENSE.md
* @since 0.9.14
*/
namespace KW4NZ\Component\Depot\Site\View\Part;
defined('_JEXEC') or die;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
class HtmlView extends BaseHtmlView
{
protected $item;
public function display($tpl = null)
{
$this->item = $this->get('Item');
parent::display($tpl);
}
}