getAttributes() 공개 메소드

Get the attributes of the form object.
public getAttributes ( ) : array
리턴 array
예제 #1
0
 public function testSetAndGetAttributes()
 {
     $f = new Form('/submit', 'post');
     $f->setAttributes('id', 'test-form');
     $this->assertEquals(3, count($f->getAttributes()));
 }