File "MenuItem.php"

Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/Application/Admin/Layout/Helper/MenuItem.php
File size: 536 bytes
MIME-type: text/x-php
Charset: utf-8

<?php


namespace Nextend\SmartSlider3\Application\Admin\Layout\Helper;


use Nextend\Framework\Sanitize;

class MenuItem {

    protected $html = '';

    protected $isActive = false;

    public function __construct($html, $isActive = false) {

        $this->html     = $html;
        $this->isActive = $isActive;
    }

    /**
     * @return bool
     */
    public function isActive() {
        return $this->isActive;
    }

    public function display() {
        echo wp_kses($this->html, Sanitize::$adminTemplateTags);
    }
}