%PDF- %PDF-
Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/Album/src/Album/Form/ |
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/Album/src/Album/Form/AlbumForm.php |
<?php /** * Description of AlbumForm * * @author Florian Koller ( conlabz GmbH ) <florian.koller at conlabz.de> */ namespace Album\Form; use Zend\Form\Form; class AlbumForm extends Form { public function __construct($name = null) { // we want to ignore the name passed parent::__construct('album'); $this->add(array( 'name' => 'id', 'type' => 'Hidden', )); $this->add(array( 'name' => 'title', 'type' => 'Text', 'options' => array( 'label' => 'Title', ), )); $this->add(array( 'name' => 'artist', 'type' => 'Text', 'options' => array( 'label' => 'Artist', ), )); $this->add(array( 'name' => 'submit', 'type' => 'Submit', 'attributes' => array( 'value' => 'Go', 'id' => 'submitbutton', ), )); } }