Spade
Mini Shell
| Directory:~$ /proc/self/root/home/lmsyaran/public_html/joomla5/components/com_fabrik/views/element/ |
| [Home] [System Details] [Kill Me] |
<?php
/**
* Single element raw view
*
* @package Joomla
* @subpackage Fabrik
* @copyright Copyright (C) 2005-2020 Media A-Team, Inc. - All rights
reserved.
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
// No direct access
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Factory;
jimport('joomla.application.component.view');
/**
* Single element raw view
*
* @package Joomla
* @subpackage Fabrik
* @since 3.0
*/
class FabrikViewElement extends FabrikView
{
/**
* Element id (not used?)
*
* @var int
*/
protected $id = null;
/**
* Is mambot (not used?)
*
* @var bool
*/
public $isMambot = null;
/**
* Set id
*
* @param int $id Element id
*
* @deprecated ?
*
* @return void
*/
public function setId($id)
{
$this->id = $id;
}
/**
* Display the template
*
* @param string $tpl Template
*
* @return void
*/
public function display($tpl = null)
{
$input = $this->app->getInput();
$pluginManager =
Factory::getApplication()->bootComponent('com_fabrik')->getMVCFactory()->createModel('Pluginmanager',
'FabrikFEModel');
$ids = $input->get('plugin', array(), 'array');
foreach ($ids as $id)
{
$plugin = $pluginManager->getElementPlugin($id);
}
}
}