navbarForm() public static method

Generates a navbar form.
public static navbarForm ( mixed $action, string $method = 'post', array $htmlOptions = [] ) : string
$action mixed the form action URL.
$method string form method (e.g. post, get).
$htmlOptions array additional HTML attributes
return string the generated form.
Exemplo n.º 1
0
 public function testNavbarForm()
 {
     $I = $this->codeGuy;
     $html = TbHtml::navbarForm('#');
     $I->createNode($html, 'form.navbar-form');
 }