public static function urlField($name, $value = '', $htmlOptions = array())
{
return self::textInputField('url', $name, $value, $htmlOptions);
}
public function testUrlField() { $I = $this->codeGuy; $html = TbHtml::urlField('url', 'http://www.getyiistrap.com', array('class' => 'input')); $input = $I->createNode($html, 'input[type=url]'); $I->seeNodeAttributes($input, array('class' => 'input', 'id' => 'url', 'name' => 'url', 'value' => 'http://www.getyiistrap.com')); }