CFDBTransformEndpoint

The Contact Form DB CFDBTransformEndpoint class.

Defined (1)

The class is defined in the following location(s).

/CFDBTransformEndpoint.php  
  1. class CFDBTransformEndpoint extends CFDBDataIteratorDecorator { 
  2.  
  3. /** 
  4. * @var CFDBTransformEndpointQueryResultsIterator 
  5. */ 
  6. var $postProcessor; 
  7.  
  8. function __construct() { 
  9. $this->postProcessor = new CFDBTransformEndpointQueryResultsIterator($this); 
  10.  
  11. /** 
  12. * Fetch next row into variable 
  13. * @return bool if next row exists 
  14. */ 
  15. public function nextRow() { 
  16. if ($this->postProcessor->nextRow()) { 
  17. $this->row =& $this->source->row; 
  18. if (empty($this->displayColumns)) { 
  19. $this->displayColumns =& $this->source->displayColumns; 
  20. return true; 
  21. } else { 
  22. $this->row = null; 
  23. return false; 
  24.  
  25. /** 
  26. * @return CFDBTransformEndpointQueryResultsIterator 
  27. */ 
  28. public function getPostProcessor() { 
  29. return $this->postProcessor;