示例#1
0
 public function testGetElementByPosition()
 {
     $this->form->addElement('text');
     $formelements_array = $this->form->getFormelements();
     $this->assertIdentical($formelements_array['0'], $this->form->getElementByPosition(0));
 }