Hi,
How zend framework avoid html duplication?
Example of html id duplication:
<div id="edit-form">first div</div>
<div id="edit-form">second div</div>
Case1: page that user can add same forms/subform/etc.. by himself
controller action example:
function indexMyAction(){
$form1=new MyForm();
$form2=new MyForm();
$form3=new MyForm();
$this->view->form1=$form1;
$this->view->form2=$form2;
$this->view->form3=$form3;
}
Case2: manually defined html <id>
by programmer - by which rule should be done to avoid duplication?
Thanks