public static function htmlButton($label = 'Button', $htmlOptions = array())
{
return self::btn(self::BUTTON_TYPE_HTML, $label, $htmlOptions);
}
public function testHtmlButton() { $I = $this->codeGuy; $html = TbHtml::htmlButton('Button', array('class' => 'button', 'name' => 'button')); $button = $I->createNode($html, 'button[type=button].btn'); $I->seeNodeCssClass($button, 'button'); $I->seeNodeAttribute($button, 'name', 'button'); $I->seeNodeText($button, 'Button'); }