protected function removeField(Entities_Field_Interface $field) { unset($this->_fields[$field->getName()]); }
protected function renderField(Entities_Field_Interface $field) { if ($field instanceof Entities_Field_Reference) { return $this->renderMap($field->getValue()->getFields()); } else { if ($field instanceof Entities_Field_Array) { return $this->renderArray($field->getValue()); } else { return $this->renderObject($field->getValue()); } } }