public function CerEndPointIterator::getChildren in Corresponding Entity References 7.3
Implements RecursiveIterator::getChildren().
File
- includes/
CerEndPointIterator.inc, line 78 - Contains CerEndPointIterator.
Class
- CerEndPointIterator
- @class The purpose of this iterator is to wrap around all the "endpoints" in a field chain. An endpoint is a CerFieldHandler for a field that hasn't got a child. This is necessary in order to support infinite levels of embedded entities…
Code
public function getChildren() {
return new CerEndPointIterator($this->field
->child(), $this->handler
->current());
}