Utwórz listę rozwijaną w Zend Framework 2

Wiem, że brzmi to o wiele bardziej podstawowe, ale nadal chcę opublikować moje pytanie, ponieważ jest ono związane z Zend Framework 2. Znam ten formularz z przykładowego modułu Zend

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->setAttribute('method', 'post');
        $this->add(array(
            'name' => 'id',
            'attributes' => array(
                'type'  => 'hidden',
            ),
        ));
        $this->add(array(
            'name' => 'artist',
            'attributes' => array(
                'type'  => 'text',
            ),
            'options' => array(
                'label' => 'Artist',
            ),
        ));
        $this->add(array(
            'name' => 'title',
            'attributes' => array(
                'type'  => 'text',
            ),
            'options' => array(
                'label' => 'Title',
            ),
        ));
        $this->add(array(
            'name' => 'submit',
            'attributes' => array(
                'type'  => 'submit',
                'value' => 'Go',
                'id' => 'submitbutton',
            ),
        ));
    }
}

I tak to się nazywa

<?php
$form = $this->form;
$form->setAttribute('action', $this->url('album', array('action' => 'add')));
$form->prepare();

echo $this->form()->openTag($form);
echo $this->formHidden($form->get('id'));
echo $this->formRow($form->get('title'));
echo $this->formRow($form->get('artist'));
echo $this->formSubmit($form->get('submit'));
echo $this->form()->closeTag();

Jak mogę dodać listę rozwijaną dla pola artysty, w którym lista jest przechowywana w tablicy asocjacyjnej. Odkąd wkroczyłem do Zend Framework 2, chciałem uzyskać sugestie od ekspertów. Poszedłemten poprzedni post ale to było dla mnie niejasne.

questionAnswers(1)

yourAnswerToTheQuestion