Bootstrap\View\Helper\BootstrapFormHelper::_matchButton PHP Method

_matchButton() protected method

Try to match the specified HTML code with a button or a input with submit type.
protected _matchButton ( $html ) : true
$html The HTML code to check
return true if the HTML code contains a button
    protected function _matchButton($html)
    {
        return strpos($html, '<button') !== FALSE || strpos($html, 'type="submit"') !== FALSE;
    }