Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

152 lines (136 sloc) 5.555 kb
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE package SYSTEM "../../php4/pe">
<!-- do not use the "Type" attribute here, that one is only for
generated package.xml files -->
<package version="1.0">
An OO-interface for easily retreiving and modifying data in a DB.
This package is an OO-abstraction to the SQL-Query language, it provides methods such
as setWhere, setOrder, setGroup, setJoin, etc. to easily build queries.
It also provides an easy to learn interface that interacts nicely with HTML-forms using
arrays that contain the column data, that shall be updated/added in a DB.
This package bases on an SQL-Builder which lets you easily build
SQL-Statements and execute them.
<name>Wolfram Kriesing</name>
- bugfix when writing log files, times were wrong
- bugfix in EasyJoin, which added unnecessary conditions
- bugfix in building column alias which is at the end of the string
- bugfix in addMultiple() which didnt work without primaryCol
- bugfix in addHaving and unit test, thanks to Johannes Schäfer
<dir name="/" baseinstalldir="DB">
<file role="php" name="QueryTool.php" />
<dir name="QueryTool">
<file role="php" name="Query.php" />
<file role="php" name="EasyJoin.php" />
<file role="php" name="Result.php" />
<dir name="docs">
<file role="doc" name="example.php" />
<file role="doc" name="mysql.sql" />
<file role="doc" name="pgsql.sql" />
<dir name="tests">
<file role="doc" name="Common.php" />
<file role="doc" name="Get.php" />
<file role="doc" name="GetAll.php" />
<file role="doc" name="GetCount.php" />
<file role="doc" name="index.php" />
<file role="doc" name="Limit.php" />
<file role="doc" name="sql.php" />
<file role="doc" name="UnitTest.php" />
<file role="doc" name="Where.php" />
<!-- there was a change in the API in 1.7 so we have to depend on this :-/ -->
<dep type="pkg" rel="eq" version="1.6.7">Log</dep>
- added set/getLimit(), which set the limit globally,
getAll() and getCol() can still overwrite this temporarily
- added addOrder()
- added *Having() methods by Johannes Schaefer
- added log functionality
- added condition param to addWhereSearch()
- fix bug in building group clause for getCount()
- bug fix in building join
- new method getCol() which lets you retreive just one column
- getAll() takes an additional optional parameter, where you can define
the method that should be used for firing the query
- update() does also consider the value of setWhere() when no primary column is given
added a _buildUpdateQuery() for that too
- added umbrello-uml class diagram
- fixing some typos, esp. for making the useResult() work
- bugfix in update, use fully qualified table name (Uwe Dörl)
- bugfix in _buildSelectQuery, enclose column names by ""
now Oracle should work and also reserved keywords can be used as column names (Uwe Dörl)
- some bugfixes and more CS issues
- now you can customize the sequence name
- testing on postgres and added example
- enhancing the constructor to take the error/log callbacks
- some cleaning up
maintanence release, fix a lot E_ALL issues and CS issues
- initial release in PEAR
Jump to Line
Something went wrong with that request. Please try again.