Bootstrap\View\Helper\BootstrapModalHelper::end PHP Method

end() public method

End a modal. If $buttons is not null, the ModalHelper::footer functions is called with $buttons and $options arguments.
public end ( array | null $buttons = NULL, array $options = [] )
$buttons array | null
$options array
    public function end($buttons = NULL, $options = [])
    {
        $res = $this->_cleanCurrent();
        if ($buttons !== null) {
            $res .= $this->footer($buttons, $options);
        }
        $res .= '</div></div></div>';
        return $res;
    }