setAction() public méthode

Set the form action.
public setAction ( string $action ) : Form
$action string
Résultat Form
Exemple #1
0
 public function testSetAndGetAction()
 {
     $f = new Form('/submit', 'post');
     $f->setAction('/action');
     $this->assertEquals('/action', $f->getAction());
 }