dateFieldControlGroup() 공개 정적인 메소드

Generates a control group with a file field.
또한 보기: self::controlGroup
public static dateFieldControlGroup ( string $name, string $value = '', array $htmlOptions = [] ) : string
$name string the input name.
$value string the input value.
$htmlOptions array additional HTML attributes.
리턴 string the generated control group.
예제 #1
0
 public function testDateFieldControlGroup()
 {
     $I = $this->codeGuy;
     $html = TbHtml::dateFieldControlGroup('date', 'date');
     $group = $I->createNode($html, 'div.control-group');
     $label = $group->filter('label.control-label');
     $I->seeNodeChildren($label, array('input[type=date]'));
 }