Source for file ResultRenderer.php

Documentation is available at ResultRenderer.php

  1. <?php
  2.  
  3. /**
  4. *   Result renderer interface that any result renderer needs to implement.
  5. *   A result renderer converts results into a
  6. *   - for the user - usable result format, e.g. php arrays, xml, json and
  7. *   so on.
  8. *
  9. *   @author Christian Weiske <cweiske@cweiske.de>
  10. *
  11. *   @package sparql
  12. */
  13. {
  14.     /**
  15.     *   Converts the database results into the desired output format
  16.     *   and returns the result.
  17.     *
  18.     *   @param array $arVartable    Variable table
  19.     *   @param Query $query         SPARQL query object
  20.     *   @param SparqlEngine $engine Sparql Engine to query the database
  21.     *   @return mixed   The result as rendered by the result renderers.
  22.     */
  23.     public function convertFromResult($arVartableQuery $querySparqlEngine $engine);
  24.  
  25. }//interface SparqlEngine_ResultRenderer
  26.  
  27. ?>

Documentation generated on Fri, 1 Jun 2007 16:51:41 +0200 by phpDocumentor 1.3.2