/** * @return array [string => bool] */ public function getFieldList() { if (null === $this->_fieldList) { $this->_fieldList = array(); foreach ($this->_form->getFields() as $fieldName => $field) { $this->_fieldList[$fieldName] = in_array($fieldName, $this->_getRequiredFields()); } } return $this->_fieldList; }