Пример #1
0
 /**
  * Checks if current position is valid
  *
  * @return boolean The return value will be casted to boolean and then evaluated.
  * Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
  */
 public function valid()
 {
     return parent::valid() || $this->sendHeaders && !$this->headersSent;
 }