protected function _matchButton($html) { return strpos($html, '<button') !== FALSE || strpos($html, 'type="submit"') !== FALSE; }