1173 |
jp_milcent |
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: This source file is subject to version 3.0 of the PHP license
|
|
|
10 |
* that is available through the world-wide-web at the following URI:
|
|
|
11 |
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
|
|
|
12 |
* the PHP License and are unable to obtain it through the web, please
|
|
|
13 |
* send a note to license@php.net so we can mail you a copy immediately.
|
|
|
14 |
*
|
|
|
15 |
* @category Database
|
|
|
16 |
* @package DB_QueryTool
|
|
|
17 |
* @author Wolfram Kriesing <wk@visionp.de>
|
|
|
18 |
* @author Paolo Panto <wk@visionp.de>
|
|
|
19 |
* @copyright 2003-2005 Wolfram Kriesing, Paolo Panto
|
|
|
20 |
* @license http://www.php.net/license/3_0.txt PHP License 3.0
|
|
|
21 |
* @version CVS: $Id: QueryTool.php,v 1.1 2006-12-14 15:04:28 jp_milcent Exp $
|
|
|
22 |
* @link http://pear.php.net/package/DB_QueryTool
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
/**
|
|
|
26 |
* require the DB_QueryTool_EasyJoin class
|
|
|
27 |
*/
|
|
|
28 |
require_once 'DB/QueryTool/EasyJoin.php';
|
|
|
29 |
|
|
|
30 |
/**
|
|
|
31 |
* MDB_QueryTool class
|
|
|
32 |
*
|
|
|
33 |
* This class should be extended; it's here to make it easy using the base
|
|
|
34 |
* class of the package by its package name.
|
|
|
35 |
* Since I tried to seperate the functionality a bit inside the
|
|
|
36 |
* really working classes i decided to have this class here just to
|
|
|
37 |
* provide the name, since the functionality inside the other
|
|
|
38 |
* classes might be restructured a bit but this name always stays.
|
|
|
39 |
*
|
|
|
40 |
* @category Database
|
|
|
41 |
* @package DB_QueryTool
|
|
|
42 |
* @author Wolfram Kriesing <wk@visionp.de>
|
|
|
43 |
* @copyright 2003-2005 Wolfram Kriesing
|
|
|
44 |
* @license http://www.php.net/license/3_0.txt PHP License 3.0
|
|
|
45 |
* @link http://pear.php.net/package/DB_QueryTool
|
|
|
46 |
*/
|
|
|
47 |
class DB_QueryTool extends DB_QueryTool_EasyJoin
|
|
|
48 |
{
|
|
|
49 |
// {{{ DB_QueryTool()
|
|
|
50 |
|
|
|
51 |
/**
|
|
|
52 |
* call parent constructor
|
|
|
53 |
* @param mixed $dsn DSN string, DSN array or DB object
|
|
|
54 |
* @param array $options
|
|
|
55 |
*/
|
|
|
56 |
function DB_QueryTool($dsn=false, $options=array())
|
|
|
57 |
{
|
|
|
58 |
parent::__construct($dsn, $options);
|
|
|
59 |
}
|
|
|
60 |
|
|
|
61 |
// }}}
|
|
|
62 |
}
|
|
|
63 |
?>
|