addElement('select', 'order', array( 'helper' => 'formOrderSelect', 'class' => 'order_select', 'size' => 10, 'multiple' => true, 'multiOptions' => $this->_orderOptions, ) ); return $this; } public function setOrderOptions($orderOptions) { $this->_orderOptions = $orderOptions; /** @var Zend_Form_Element_Multi $orderElement */ if (($orderElement = $this->getElement('order'))) { $orderElement->setMultiOptions((array) $orderOptions); } return $this; } public function getOrderOptions() { return $this->_orderOptions; } }