2010-03-23 4 views

Répondre

1
$this->getElement('elementId')->addDecorator('Label'); ? 

Vous pouvez choisir le placement ainsi:

$this->getElement('elementId')->addDecorator('Label', array('placement' => 'APPEND')) 

Ou le faire à travers un cadre décorateur général:

)

En fait, toutes les informations sont disponibles sur http://framework.zend.com/manual/en/zend.form.standardDecorators.html

Questions connexes