<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Aukyla PHP Framework</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="StyleSheet" href="auton.css" type="text/css" media="screen">
</head>
<body>
<div id="mainmenu">
<a href="http://www.auton.nl/" class="home">Home</a>
</div>
<div id="submenu">
<a class="logo" href="http://www.auton.nl/"></a>
<div class="head">Ads</div>
<a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=116358&type=1" alt="SourceForge.net Logo" style="padding: 2px 4px; width: 88px; height: 31px; border: 0px"></a>
<a href="http://getfirefox.com/" title="Get Firefox - The Browser, Reloaded."><img src="http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png" alt="Get Firefox" style="width: 110px; height: 32px; border: 0px"></a>
</div>
<div id="main">
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">base</a></div>
<h1>DatabaseHandler.php</h1><div class="fragment"><pre class="fragment">00001 <?php
00002 <span class="comment">/*</span>
00003 <span class="comment"> DatabaseHandler.php, provides an abstract interface to implement database</span>
00004 <span class="comment"> specific functions in a universal way.</span>
00005 <span class="comment"> Copyright (C) 2004 Arend van Beelen, Auton Rijnsburg</span>
00006 <span class="comment"></span>
00007 <span class="comment"> This program is free software; you can redistribute it and/or modify it</span>
00008 <span class="comment"> under the terms of the GNU General Public License as published by the Free</span>
00009 <span class="comment"> Software Foundation; either version 2 of the License, or (at your option)</span>
00010 <span class="comment"> any later version.</span>
00011 <span class="comment"></span>
00012 <span class="comment"> This program is distributed in the hope that it will be useful, but WITHOUT</span>
00013 <span class="comment"> ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or</span>
00014 <span class="comment"> FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for</span>
00015 <span class="comment"> more details.</span>
00016 <span class="comment"></span>
00017 <span class="comment"> You should have received a copy of the GNU General Public License along</span>
00018 <span class="comment"> with this program; if not, write to the Free Software Foundation, Inc.,</span>
00019 <span class="comment"> 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
00020 <span class="comment"></span>
00021 <span class="comment"> For any questions, comments or whatever, you may mail me at: hide@address.com</span>
00022 <span class="comment">*/</span>
00023
<a name="l00036"></a><a class="code" href="a00098.html">00036</a> interface <a class="code" href="a00098.html">DatabaseHandler</a>
00037 {
00049 <span class="keyword">public</span> function connect($server, $database, $username, $password);
00050
00054 <span class="keyword">public</span> function disconnect();
00055
00061 <span class="keyword">public</span> function type();
00062
00069 <span class="keyword">public</span> function server();
00070
00076 <span class="keyword">public</span> function database();
00077
00083 <span class="keyword">public</span> function username();
00084
00091 <span class="keyword">public</span> function query($sqlQuery);
00092
00098 <span class="keyword">public</span> function numberOfRows();
00099
00105 <span class="keyword">public</span> function numberOfAffectedRows();
00106
00112 <span class="keyword">public</span> function hasResults();
00113
00119 <span class="keyword">public</span> function hasAffectedRows();
00120
00128 <span class="keyword">public</span> function result($row, $field);
00129
00135 <span class="keyword">public</span> function resultArray();
00136
00142 <span class="keyword">public</span> function resultObject();
00143
00147 <span class="keyword">public</span> function resetResults();
00148
00152 <span class="keyword">public</span> function insertId();
00153
00160 <span class="keyword">public</span> function error();
00161 }
00162
00163 ?>
</pre></div> </div>
</body>
</html>