Source for file InsertQueryResult.interface.php

Documentation is available at InsertQueryResult.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: InsertQueryResult.interface.php,v 1.4 2007/09/05 21:38:59 adamfranco Exp $
  9. */
  10. require_once("QueryResult.interface.php");
  11.  
  12. /**
  13. * The InsertQueryResult interface provides the functionality common to all INSERT query results.
  14. *
  15. * For example, you can get the primary key for the last insertion, get number of inserted rows, etc.
  16. *
  17. * @package harmoni.dbc
  18. *
  19. * @copyright Copyright &copy; 2005, Middlebury College
  20. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  21. *
  22. * @version $Id: InsertQueryResult.interface.php,v 1.4 2007/09/05 21:38:59 adamfranco Exp $
  23. */
  24.  
  25. interface InsertQueryResultInterface
  26. extends QueryResultInterface
  27. {
  28.  
  29. /**
  30. * Gets the last auto increment value that was generated by the INSERT query.
  31. * Gets the last auto increment value that was generated by the INSERT query.
  32. * @access public
  33. * @return integer The last auto increment value that was generated by the INSERT query.
  34. */
  35. function getLastAutoIncrementValue();
  36.  
  37.  
  38. ?>

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