/**
  * @return FieldCollection
  */
 public function getStaticFields()
 {
     $result = new FieldCollection();
     foreach ($this as $field) {
         if ($field instanceof StaticField) {
             $result->add($field);
         }
     }
     return $result;
 }
Ejemplo n.º 2
0
 /**
  * @return FieldCollection
  */
 public function getDynamicFields()
 {
     return $this->fields->getDynamicFields();
 }