[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/dbal/src/query/ -> lmbTableRecordsQuery.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  lmb_require('limb/dbal/src/query/lmbSelectQuery.class.php');
  10  
  11  /**
  12   * class lmbTableRecordsQuery.
  13   *
  14   * @package dbal
  15   * @version $Id: lmbTableRecordsQuery.class.php 6005 2007-06-19 21:14:49Z pachanga $
  16   */
  17  class lmbTableRecordsQuery extends lmbSelectQuery
  18  {
  19    function __construct($table, $conn)
  20    {
  21      $table = $conn->quoteIdentifier($table);
  22      $sql = "SELECT {$table}.* %fields% FROM {$table} %tables% ".
  23                                    "%left_join% %where% %group% %having% %order%";
  24  
  25      parent :: __construct($sql, $conn);
  26    }
  27  }
  28  ?>


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