home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / DB / QueryTool.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  3.1 KB  |  79 lines

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  3.  
  4. /**
  5.  * Contains the DB_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   DB_QueryTool
  32.  * @author    Wolfram Kriesing <wk@visionp.de>
  33.  * @author    Paolo Panto <wk@visionp.de>
  34.  * @copyright 2003-2007 Wolfram Kriesing, Paolo Panto
  35.  * @license   http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
  36.  * @version   CVS: $Id: QueryTool.php,v 1.6 2007/11/16 20:33:33 quipo Exp $
  37.  * @link      http://pear.php.net/package/DB_QueryTool
  38.  */
  39.  
  40. /**
  41.  * require the DB_QueryTool_EasyJoin class
  42.  */
  43. require_once 'DB/QueryTool/EasyJoin.php';
  44.  
  45. /**
  46.  * MDB_QueryTool class
  47.  *
  48.  * This class should be extended; it's here to make it easy using the base
  49.  * class of the package by its package name.
  50.  * Since I tried to seperate the functionality a bit inside the
  51.  * really working classes i decided to have this class here just to
  52.  * provide the name, since the functionality inside the other
  53.  * classes might be restructured a bit but this name always stays.
  54.  *
  55.  * @category  Database
  56.  * @package   DB_QueryTool
  57.  * @author    Wolfram Kriesing <wk@visionp.de>
  58.  * @copyright 2003-2007 Wolfram Kriesing
  59.  * @license   http://www.debian.org/misc/bsd.license  BSD License (3 Clause)
  60.  * @link      http://pear.php.net/package/DB_QueryTool
  61.  */
  62. class DB_QueryTool extends DB_QueryTool_EasyJoin
  63. {
  64.     // {{{ DB_QueryTool()
  65.  
  66.     /**
  67.      * Call parent constructor
  68.      *
  69.      * @param mixed $dsn     DSN string, DSN array or DB object
  70.      * @param array $options database options
  71.      */
  72.     function DB_QueryTool($dsn=false, $options=array())
  73.     {
  74.         parent::__construct($dsn, $options);
  75.     }
  76.  
  77.     // }}}
  78. }
  79. ?>