Commit 37b5ad58c0e3768a1f03c9698bb1972b15f0ff45
1 parent
4b33a782
Updated for testing purposes
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@69 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
5 additions
and
2 deletions
lib/visualpatterns/PatternTableSqlQuery.inc
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once ("c:/temp/test/DatabaseConnection.inc"); | |
| 3 | +require_once ("./lib/owl.lib.php"); | |
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | Builds a query using the table name and the array of specified columns |
| ... | ... | @@ -110,7 +110,7 @@ class PatternTableSqlQuery { |
| 110 | 110 | } |
| 111 | 111 | $sToRender .= "</tr>\n"; |
| 112 | 112 | |
| 113 | - $oDBConnection = & new DatabaseConnection(); | |
| 113 | + $oDBConnection = & new Owl_DB(); | |
| 114 | 114 | $oDBConnection->createSQLQueryWithOffset($this->sTableName, $this->aColumns, $this->iStartIndex, $this->iResultsToDisplay); |
| 115 | 115 | $oQueryResults = & $oDBConnection->getQueryResults(); |
| 116 | 116 | ... | ... |
test.php
| 1 | 1 | <?php |
| 2 | +require_once ("./config/dmsDefaults.php"); | |
| 3 | +require_once ("./lib/owl.lib.php"); | |
| 2 | 4 | require_once ("./lib/visualpatterns/PatternMainPage.inc"); |
| 3 | 5 | require_once ("./lib/visualpatterns/PatternImage.inc"); |
| 4 | 6 | require_once ("./lib/visualpatterns/PatternTableLinks.inc"); |
| 5 | 7 | require_once ("./lib/visualpatterns/PatternTableSqlQuery.inc"); |
| 6 | 8 | |
| 9 | + | |
| 7 | 10 | /* North west image */ |
| 8 | 11 | $img = new PatternImage("file://C:/temp/test/al.jpg"); |
| 9 | 12 | ... | ... |