3 namespace Galerie\Form;
5 use Custom\Form\AbstractForm;
8 class GalerieForm extends AbstractForm
11 public function initialize()
13 $elements = include __DIR__ . '/galerie.form.config.php';
14 $this->addElements($elements);
15 /* Méthode alternative
16 $this->setMethod('post');
17 $this->addElement('id', 'hidden');
21 $this->translate('Galerie_form_label_name')
26 $this->translate('Galerie_form_label_description')
34 'id' => 'submit_galerie_form',