textAreaControlGroup() public static méthode

Generates a control group with a text area.
See also: self::controlGroup
public static textAreaControlGroup ( string $name, string $value = '', array $htmlOptions = [] ) : string
$name string the input name.
$value string the input value.
$htmlOptions array additional HTML attributes.
Résultat string the generated control group.
 public function testTextAreaControlGroup()
 {
     $I = $this->codeGuy;
     $html = TbHtml::textAreaControlGroup('textarea', 'Textarea text');
     $group = $I->createNode($html, 'div.control-group');
     $label = $group->filter('label.control-label');
     $I->seeNodeChildren($label, array('textarea'));
 }