[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/dbal/src/drivers/pgsql/ -> lmbPgsqlManipulationStatement.class.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  
  10  lmb_require('limb/dbal/src/drivers/lmbDbManipulationStatement.interface.php');
  11  lmb_require(dirname(__FILE__) . '/lmbPgsqlStatement.class.php');
  12  
  13  /**

  14   * class lmbPgsqlManipulationStatement.

  15   *

  16   * @package dbal

  17   * @version $Id: lmbPgsqlManipulationStatement.class.php 5945 2007-06-06 08:31:43Z pachanga $

  18   */
  19  class lmbPgsqlManipulationStatement extends lmbPgsqlStatement implements lmbDbManipulationStatement
  20  {
  21    protected $queryId;
  22  
  23    function getAffectedRowCount()
  24    {
  25      if(is_resource($this->queryId))
  26        return pg_affected_rows($this->queryId);
  27    }
  28  
  29    function execute()
  30    {
  31      $this->queryId = parent :: execute();
  32      return $this->queryId;
  33    }
  34  }
  35  
  36  ?>


Generated: Sat Nov 22 03:48:54 2008 Cross-referenced by PHPXref 0.7