src/View/Helper/MelisModal.php
protected function setContent(array $contents)
    {

        if($contents && is_array($contents))
        {
            foreach($contents as $attrib => $values)
            {
                $this->_contents .= '<div class="tab-pane" id="'.$values['id'].'"><div class="row"><div class="col-md-12">'.$values['content'].'</div></div></div>';
            }
        }
    }
protected function setContent(array $contents)
    {

        if($contents && is_array($contents))
        {
            foreach($contents as $attrib => $values)
            {
                $this->_contents .= '<div class="tab-pane" id="'.$values['id'].'"><div class="row"><div class="col-md-12">'.$values['content'].'</div></div></div>';
            }
        }
    }
protected function setContent ( array $ contents ) { if ( $ contents && is_array ( $ contents ) ) { foreach ( $ contents as $ attrib => $ values ) { $ this -> _contents .= '<div class="tab-pane" id="' . $ values [ 'id' ] . '"><div class="row"><div class="col-md-12">' . $ values [ 'content' ] . '</div></div></div>' ; } } }
Sets the content of a specific tab
@param array $contents
Sets the content of a specific tab