You are here

public function CerEndPointIterator::valid in Corresponding Entity References 7.3

Implements Iterator::handler().

File

includes/CerEndPointIterator.inc, line 64
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 valid() {
  return $this->handler
    ->valid();
}