2010-07-21 3 views

Répondre

0

Utilisez un sous-formulaire:

$form = new Zend_Form; 
$subForm = new Zend_Form_SubForm('SubForm', 'element'); 
$subForm->addElements(array(
    $subForm->createElement('Text', '0'), 
    $subForm->createElement('Text', '1'), 
)); 
$form->addSubForm($subForm, 'element'); 

Je suis sûr que cela peut être écrit avec une notation de tableau en quelque sorte aussi.

+0

Notation de la grille: http://zendframework.com/issues/browse/ZF-2563#comment-18830-open – Ashley

Questions connexes