b0y-101 Mini Shell


Current Path : E:/www/nongbua/administrator/components/com_advancedmodules/views/positions/
File Upload :
Current File : E:/www/nongbua/administrator/components/com_advancedmodules/views/positions/view.html.php

<?php
/**
 * @package         Advanced Module Manager
 * @version         7.13.2
 * 
 * @author          Peter van Westen <info@regularlabs.com>
 * @link            http://www.regularlabs.com
 * @copyright       Copyright © 2020 Regular Labs All Rights Reserved
 * @license         http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */

/**
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\MVC\View\HtmlView as JView;

/**
 * @since  1.6
 */
class AdvancedModulesViewPositions extends JView
{
	protected $items;

	protected $pagination;

	protected $state;

	/**
	 * Display the view
	 */
	public function display($tpl = null)
	{
		$this->items      = $this->get('Items');
		$this->pagination = $this->get('Pagination');
		$this->state      = $this->get('State');

		// Check for errors.
		if (count($errors = $this->get('Errors')))
		{
			throw new Exception(implode("\n", $errors), 500);
		}

		parent::display($tpl);
	}
}

Copyright © 2019 by b0y-101