addElement( 'select', 'status', [ 'label' => 'Status:', 'multiOptions' => $dataObj->getOrderStatuses($this->_appendAllRow), 'decorators' => ['ViewHelper'], ] ); $this->addElement( 'select', 'paid', [ 'label' => 'Paid:', 'multiOptions' => $dataObj->getPaidStatuses($this->_appendAllRow), 'decorators' => ['ViewHelper'], ] ); return $this; } protected function _initButtons() { return $this; } public function setAppendAllRow($appendEmptyRow) { $this->_appendAllRow = $appendEmptyRow; } }