setAction() 공개 메소드

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