Source for file QueryResult.interface.php

Documentation is available at QueryResult.interface.php

  1. <?php
  2. /**
  3. * @package harmoni.dbc
  4. *
  5. * @copyright Copyright &copy; 2005, Middlebury College
  6. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  7. *
  8. * @version $Id: QueryResult.interface.php,v 1.4 2007/09/05 21:38:59 adamfranco Exp $
  9. */
  10.  
  11. /**
  12. * The QueryResult interface provides the functionality common to all query results.
  13. *
  14. * For example, you can determine if the query ran successfully and how many table rows were affected.
  15. *
  16. * @package harmoni.dbc
  17. *
  18. * @copyright Copyright &copy; 2005, Middlebury College
  19. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  20. *
  21. * @version $Id: QueryResult.interface.php,v 1.4 2007/09/05 21:38:59 adamfranco Exp $
  22. */
  23.  
  24. interface QueryResultInterface {
  25.  
  26. /**
  27. * Returns the number of rows that the query processed.
  28. * Returns the number of rows that the query processed. For a SELECT query,
  29. * this would be the total number of rows selected. For a DELETE, UPDATE, or
  30. * INSERT query, this would be the number of rows that were affected.
  31. * @return integer Number of rows that were processed by the query.
  32. * @access public
  33. */
  34. function getNumberOfRows() ;
  35.  
  36.  
  37.  
  38. ?>

Documentation generated on Wed, 19 Sep 2007 10:25:45 -0400 by phpDocumentor 1.3.0RC3