示例#1
0
 protected function removeField(Entities_Field_Interface $field)
 {
     unset($this->_fields[$field->getName()]);
 }
示例#2
0
 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());
         }
     }
 }