home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Resources / Developers / XAMPP 1.5.4 / Windows installer / xampp-win32-1.5.4-installer.exe / xampp / php / pear / MDB / QueryTool.php < prev    next >
Encoding:
PHP Script  |  2006-04-07  |  2.8 KB  |  74 lines

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  3.  
  4. /**
  5.  * Contains the MDB_QueryTool class
  6.  *
  7.  * PHP versions 4 and 5
  8.  *
  9.  * LICENSE: Redistribution and use in source and binary forms, with or without
  10.  * modification, are permitted provided that the following conditions are met:
  11.  * 1. Redistributions of source code must retain the above copyright
  12.  *    notice, this list of conditions and the following disclaimer.
  13.  * 2. Redistributions in binary form must reproduce the above copyright
  14.  *    notice, this list of conditions and the following disclaimer in the
  15.  *    documentation and/or other materials provided with the distribution.
  16.  * 3. The name of the author may not be used to endorse or promote products
  17.  *    derived from this software without specific prior written permission.
  18.  *
  19.  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
  20.  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  21.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  22.  * IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY
  23.  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  24.  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  25.  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  26.  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  28.  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29.  *
  30.  * @category   Database
  31.  * @package    MDB_QueryTool
  32.  * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
  33.  * @copyright  2003-2006 Lorenzo Alberton
  34.  * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
  35.  * @version    CVS: $Id: QueryTool.php,v 1.8 2006/01/26 17:10:16 quipo Exp $
  36.  * @link       http://pear.php.net/package/MDB_QueryTool
  37.  */
  38.  
  39. /**
  40.  * require the MDB_QueryTool_EasyJoin class
  41.  */
  42. require_once 'MDB/QueryTool/EasyJoin.php';
  43.  
  44. /**
  45.  * MDB_QueryTool class
  46.  *
  47.  * This is a port of DB_QueryTool, originally written by Wolfram Kriesing
  48.  * and Paolo Panto, vision:produktion <wk@visionp.de>
  49.  * It uses the PEAR::MDB database abstraction layer
  50.  *
  51.  * @category   Database
  52.  * @package    MDB_QueryTool
  53.  * @author     Lorenzo Alberton <l dot alberton at quipo dot it>
  54.  * @copyright  2003-2006 Lorenzo Alberton
  55.  * @license    http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
  56.  * @link       http://pear.php.net/package/MDB_QueryTool
  57.  */
  58. class MDB_QueryTool extends MDB_QueryTool_EasyJoin
  59. {
  60.     // {{{ MDB_QueryTool()
  61.  
  62.     /**
  63.      * call parent constructor
  64.      * @param mixed $dsn DSN string, DSN array or MDB object
  65.      * @param array $options
  66.      */
  67.     function MDB_QueryTool($dsn=false, $options=array())
  68.     {
  69.         parent::__construct($dsn, $options);
  70.     }
  71.  
  72.     // }}}
  73. }
  74. ?>