HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/EvLuik/vanluiktegelwerken.nl/wwwroot/cmsimple/classes/IntegratedPluginMenu.php
<?php

/**
 * The builders for the integrated plugin menus.
 *
 * @category  CMSimple_XH
 * @package   XH
 * @author    Peter Harteg <peter@harteg.dk>
 * @author    The CMSimple_XH developers <devs@cmsimple-xh.org>
 * @copyright 1999-2009 Peter Harteg
 * @copyright 2009-2017 The CMSimple_XH developers <http://cmsimple-xh.org/?The_Team>
 * @license   http://www.gnu.org/licenses/gpl-3.0.en.html GNU GPLv3
 * @link      http://cmsimple-xh.org/
 */

namespace XH;

/**
 * The menu builder for a plugin menu that is integrated in the admin menu.
 *
 * @category CMSimple_XH
 * @package  XH
 * @author   The CMSimple_XH developers <devs@cmsimple-xh.org>
 * @license  http://www.gnu.org/licenses/gpl-3.0.en.html GNU GPLv3
 * @link     http://cmsimple-xh.org/
 * @since    1.6.2
 */
class IntegratedPluginMenu extends PluginMenu
{
    /**
     * Makes the main menu item.
     *
     * @return void
     */
    protected function makeMainItem()
    {
        XH_registerPluginMenuItem($this->plugin, $this->mainLabel, $this->mainUrl);
    }

    /**
     * Makes the stylesheet menu item.
     *
     * @return void
     */
    protected function makeStylesheetItem()
    {
        XH_registerPluginMenuItem($this->plugin, $this->cssLabel, $this->cssUrl);
    }

    /**
     * Makes the configuration menu item.
     *
     * @return void
     */
    protected function makeConfigItem()
    {
        XH_registerPluginMenuItem($this->plugin, $this->configLabel, $this->configUrl);
    }

    /**
     * Makes the language menu item.
     *
     * @return void
     */
    protected function makeLanguageItem()
    {
        XH_registerPluginMenuItem($this->plugin, $this->languageLabel, $this->languageUrl);
    }

    /**
     * Makes the help menu item.
     *
     * @return void
     *
     * @todo target=_blank
     */
    protected function makeHelpItem()
    {
        XH_registerPluginMenuItem($this->plugin, $this->helpLabel, $this->helpUrl, '_blank');
    }
}