getName() public method

Get form element object name.
public getName ( ) : string
return string
Example #1
0
 public function testSetAndGetName()
 {
     $e = new Element('text', 'email');
     $e->setName('new_email');
     $this->assertEquals('new_email', $e->getName());
 }