| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/Engineering/V2/modules/mod_exmenu-j15/exmenu/view/ |
Upload File : |
<?php
/**
* @version $Id:$
* @author Daniel Ecer
* @package exmenu
* @copyright (C) 2005-2009 Daniel Ecer (de.siteof.de)
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
// no direct access
if (!defined('EXTENDED_MENU_HOME')) {
die('Restricted access');
}
/**
* @since 1.0.0
*/
class PluginExtendedMenuView extends AbstractExtendedMenuView {
var $pluginMenuViewName = '';
var $menuNodeList = array();
var $level = 0;
function renderAsString(&$menuNodeList, $level = 0) {
global $_MAMBOTS;
$params =& $this->params;
$this->pluginMenuViewName = $params->get('menu_view_plugin_name', '');
$this->menuNodeList =& $menuNodeList;
$this->level = $level;
$_MAMBOTS->loadBotGroup('exmenu');
$results = $_MAMBOTS->trigger('onShowMenu', array(&$this, $this->pluginMenuViewName), FALSE);
if (is_array($results)) {
$results = implode('', $results);
}
return $results;
}
function &getMenuNodeList() {
return $this->menuNodeList;
}
}
?>