File "ContainerTab.php"

Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/plugins/smart-slider-3/Nextend/Framework/Form/Container/ContainerTab.php
File size: 591 bytes
MIME-type: text/x-php
Charset: utf-8

<?php


namespace Nextend\Framework\Form\Container;


use Nextend\Framework\Form\ContainerGeneral;

class ContainerTab extends ContainerGeneral {

    public function renderContainer() {
        echo '<div class="n2_form__tab" data-related-form="' . esc_attr($this->getForm()
                                                                             ->getId()) . '" data-tab="' . esc_attr($this->getId()) . '">';
        parent::renderContainer();
        echo '</div>';
    }

    public function getId() {
        return 'n2_form__tab_' . $this->controlName . '_' . $this->name;
    }
}