Bootstrap\View\Helper\BootstrapFormHelper::_matchButton PHP Метод

_matchButton() защищенный Метод

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
Результат true if the HTML code contains a button
    protected function _matchButton($html)
    {
        return strpos($html, '<button') !== FALSE || strpos($html, 'type="submit"') !== FALSE;
    }