getAction() public method

Get the form action.
public getAction ( ) : array
return array
Example #1
0
 public function testSetAndGetAction()
 {
     $f = new Form('/submit', 'post');
     $f->setAction('/action');
     $this->assertEquals('/action', $f->getAction());
 }