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

header() public method

Create / Start the header. If $info is specified as a string, create and return the whole header, otherwize only open the header.
public header ( array | string $info = null, array $options = [] )
$info array | string If string, use as the modal title, otherwize works as $options.
$options array Options for the header div. Special option (if $info is string): - close: Add the 'close' button in the header (default true).
    public function header($info = null, $options = [])
    {
        if (is_array($info)) {
            $options = $info;
            $info = null;
        }
        return $this->_createHeader($info, $options);
    }