mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-18 15:31:28 +01:00
918 lines
32 KiB
HTML
918 lines
32 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
<!DOCTYPE html
|
||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<title>Docs For Class DoliDb</title>
|
||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||
<script src="../media/lib/classTree.js"></script>
|
||
<link id="webfx-tab-style-sheet" type="text/css" rel="stylesheet" href="../media/lib/tab.webfx.css" />
|
||
<script type="text/javascript" src="../media/lib/tabpane.js"></script>
|
||
<script language="javascript" type="text/javascript" src="../media/lib/ua.js"></script>
|
||
<script language="javascript" type="text/javascript">
|
||
var imgPlus = new Image();
|
||
var imgMinus = new Image();
|
||
imgPlus.src = "../media/images/plus.gif";
|
||
imgMinus.src = "../media/images/minus.gif";
|
||
|
||
function showNode(Node){
|
||
switch(navigator.family){
|
||
case 'nn4':
|
||
// Nav 4.x code fork...
|
||
var oTable = document.layers["span" + Node];
|
||
var oImg = document.layers["img" + Node];
|
||
break;
|
||
case 'ie4':
|
||
// IE 4/5 code fork...
|
||
var oTable = document.all["span" + Node];
|
||
var oImg = document.all["img" + Node];
|
||
break;
|
||
case 'gecko':
|
||
// Standards Compliant code fork...
|
||
var oTable = document.getElementById("span" + Node);
|
||
var oImg = document.getElementById("img" + Node);
|
||
break;
|
||
}
|
||
oImg.src = imgMinus.src;
|
||
oTable.style.display = "block";
|
||
}
|
||
|
||
function hideNode(Node){
|
||
switch(navigator.family){
|
||
case 'nn4':
|
||
// Nav 4.x code fork...
|
||
var oTable = document.layers["span" + Node];
|
||
var oImg = document.layers["img" + Node];
|
||
break;
|
||
case 'ie4':
|
||
// IE 4/5 code fork...
|
||
var oTable = document.all["span" + Node];
|
||
var oImg = document.all["img" + Node];
|
||
break;
|
||
case 'gecko':
|
||
// Standards Compliant code fork...
|
||
var oTable = document.getElementById("span" + Node);
|
||
var oImg = document.getElementById("img" + Node);
|
||
break;
|
||
}
|
||
oImg.src = imgPlus.src;
|
||
oTable.style.display = "none";
|
||
}
|
||
|
||
function nodeIsVisible(Node){
|
||
switch(navigator.family){
|
||
case 'nn4':
|
||
// Nav 4.x code fork...
|
||
var oTable = document.layers["span" + Node];
|
||
break;
|
||
case 'ie4':
|
||
// IE 4/5 code fork...
|
||
var oTable = document.all["span" + Node];
|
||
break;
|
||
case 'gecko':
|
||
// Standards Compliant code fork...
|
||
var oTable = document.getElementById("span" + Node);
|
||
break;
|
||
}
|
||
return (oTable && oTable.style.display == "block");
|
||
}
|
||
|
||
function toggleNodeVisibility(Node){
|
||
if (nodeIsVisible(Node)){
|
||
hideNode(Node);
|
||
}else{
|
||
showNode(Node);
|
||
}
|
||
}
|
||
</script>
|
||
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||
<body bgcolor="#ffffff" ><!-- Start of Class Data -->
|
||
<h2>
|
||
Class DoliDb
|
||
</h2> (line <span class="linenumber">38</span>)
|
||
<div class="tab-pane" id="tabPane1">
|
||
<script type="text/javascript">
|
||
tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ));
|
||
</script>
|
||
|
||
<div class="tab-page" id="Description">
|
||
<h2 class="tab">Description</h2>
|
||
<pre>
|
||
</pre>
|
||
<p>
|
||
<b><i>Located in File: <a href="_mysql_lib_php.html">/mysql.lib.php</a></i></b><br>
|
||
</p>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>classe DoliDb</h5>
|
||
<div class="desc"><p>Classe contenant les fonctions pour gere la database de dolibarr</p></div>
|
||
<ul>
|
||
<li><strong>version:</strong> - 1.2</li>
|
||
<li><strong>author:</strong> - Laurent Destailleur</li>
|
||
<li><strong>author:</strong> - Rodolphe Quiedeville</li>
|
||
<li><strong>author:</strong> - Fabien Seisen</li>
|
||
</ul>
|
||
<br /><hr />
|
||
</div>
|
||
<script type="text/javascript">tp1.addTabPage( document.getElementById( "Description" ) );</script>
|
||
<div class="tab-page" id="tabPage1">
|
||
<h2 class="tab">Class Variables</h2>
|
||
<!-- ============ VARIABLE DETAIL =========== -->
|
||
<strong>Summary:</strong><br />
|
||
<div class="var-title">
|
||
<span class="var-type">mixed</span>
|
||
<a href="#var$connected" title="details" class="property"><strong>$connected</strong></a>
|
||
</div>
|
||
<div class="var-title">
|
||
<span class="var-type">mixed</span>
|
||
<a href="#var$database_selected" title="details" class="property"><strong>$database_selected</strong></a>
|
||
</div>
|
||
<div class="var-title">
|
||
<span class="var-type">mixed</span>
|
||
<a href="#var$db" title="details" class="property"><strong>$db</strong></a>
|
||
</div>
|
||
<div class="var-title">
|
||
<span class="var-type">mixed</span>
|
||
<a href="#var$ERROR_DUPLICATE" title="details" class="property"><strong>$ERROR_DUPLICATE</strong></a>
|
||
</div>
|
||
<div class="var-title">
|
||
<span class="var-type">mixed</span>
|
||
<a href="#var$ERROR_TABLEEXISTS" title="details" class="property"><strong>$ERROR_TABLEEXISTS</strong></a>
|
||
</div>
|
||
<div class="var-title">
|
||
<span class="var-type">mixed</span>
|
||
<a href="#var$ok" title="details" class="property"><strong>$ok</strong></a>
|
||
</div>
|
||
<div class="var-title">
|
||
<span class="var-type">mixed</span>
|
||
<a href="#var$results" title="details" class="property"><strong>$results</strong></a>
|
||
</div>
|
||
<hr />
|
||
<a name="var$connected" id="var$connected"><!-- --></A>
|
||
<div style="background='#ffffff'">
|
||
<h4>
|
||
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$connected</strong> (line <span class="linenumber">39</span>)
|
||
</h4>
|
||
<h4>Data type : mixed</h4>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<a name="var$database_selected" id="var$database_selected"><!-- --></A>
|
||
<div style="background='#eeeeee'">
|
||
<h4>
|
||
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$database_selected</strong> (line <span class="linenumber">39</span>)
|
||
</h4>
|
||
<h4>Data type : mixed</h4>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<a name="var$db" id="var$db"><!-- --></A>
|
||
<div style="background='#ffffff'">
|
||
<h4>
|
||
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$db</strong> (line <span class="linenumber">39</span>)
|
||
</h4>
|
||
<h4>Data type : mixed</h4>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<a name="var$ERROR_DUPLICATE" id="var$ERROR_DUPLICATE"><!-- --></A>
|
||
<div style="background='#eeeeee'">
|
||
<h4>
|
||
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$ERROR_DUPLICATE = 1062</strong> (line <span class="linenumber">42</span>)
|
||
</h4>
|
||
<h4>Data type : mixed</h4>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<a name="var$ERROR_TABLEEXISTS" id="var$ERROR_TABLEEXISTS"><!-- --></A>
|
||
<div style="background='#ffffff'">
|
||
<h4>
|
||
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$ERROR_TABLEEXISTS = 1050</strong> (line <span class="linenumber">43</span>)
|
||
</h4>
|
||
<h4>Data type : mixed</h4>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<a name="var$ok" id="var$ok"><!-- --></A>
|
||
<div style="background='#eeeeee'">
|
||
<h4>
|
||
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$ok</strong> (line <span class="linenumber">39</span>)
|
||
</h4>
|
||
<h4>Data type : mixed</h4>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<a name="var$results" id="var$results"><!-- --></A>
|
||
<div style="background='#ffffff'">
|
||
<h4>
|
||
<img src="../media/images/PublicProperty.gif" border="0" /> <strong class="property">$results</strong> (line <span class="linenumber">39</span>)
|
||
</h4>
|
||
<h4>Data type : mixed</h4>
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script>
|
||
</div>
|
||
<div class="tab-page" id="tabPage2">
|
||
<h2 class="tab">Method Detail</h2>
|
||
<!-- ============ METHOD DETAIL =========== -->
|
||
<strong>Summary:</strong><br />
|
||
<div class="method-summary">
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">DoliDb</span>
|
||
<a href="#methodDoliDb" title="details" class="method-name">DoliDb</a>
|
||
([<span class="var-type">string</span> <span class="var-name">$type</span> = <span class="var-default">'mysql'</span>], [<span class="var-type">string</span> <span class="var-name">$host</span> = <span class="var-default">''</span>], [<span class="var-type">string</span> <span class="var-name">$user</span> = <span class="var-default">''</span>], [<span class="var-type">string</span> <span class="var-name">$pass</span> = <span class="var-default">''</span>], [<span class="var-type">string</span> <span class="var-name">$name</span> = <span class="var-default">''</span>])
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">int</span>
|
||
<a href="#methodaffected_rows" title="details" class="method-name">affected_rows</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">string</span>
|
||
<a href="#methodbegin" title="details" class="method-name">begin</a>
|
||
([<span class="var-type">integer</span> <span class="var-name">$do</span> = <span class="var-default">1</span>])
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodclone" title="details" class="method-name">clone</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodclose" title="details" class="method-name">close</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">string</span>
|
||
<a href="#methodcommit" title="details" class="method-name">commit</a>
|
||
([<span class="var-type">integer</span> <span class="var-name">$do</span> = <span class="var-default">1</span>])
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodconnect" title="details" class="method-name">connect</a>
|
||
(<span class="var-type">string</span> <span class="var-name">$host</span>, <span class="var-type">string</span> <span class="var-name">$login</span>, <span class="var-type">string</span> <span class="var-name">$passwd</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">integer</span>
|
||
<a href="#methodcreate_db" title="details" class="method-name">create_db</a>
|
||
(<span class="var-type">string</span> <span class="var-name">$database</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">int</span>
|
||
<a href="#methoderrno" title="details" class="method-name">errno</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">string</span>
|
||
<a href="#methoderror" title="details" class="method-name">error</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">array</span>
|
||
<a href="#methodfetch_array" title="details" class="method-name">fetch_array</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">object</span>
|
||
<a href="#methodfetch_field" title="details" class="method-name">fetch_field</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodfetch_object" title="details" class="method-name">fetch_object</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">array</span>
|
||
<a href="#methodfetch_row" title="details" class="method-name">fetch_row</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodfree" title="details" class="method-name">free</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">string</span>
|
||
<a href="#methodidate" title="details" class="method-name">idate</a>
|
||
(<span class="var-type">integer</span> <span class="var-name">$fname</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">int</span>
|
||
<a href="#methodlast_insert_id" title="details" class="method-name">last_insert_id</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodlist_tables" title="details" class="method-name">list_tables</a>
|
||
(<span class="var-type">string</span> <span class="var-name">$database</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">int</span>
|
||
<a href="#methodnum_fields" title="details" class="method-name">num_fields</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">int</span>
|
||
<a href="#methodnum_rows" title="details" class="method-name">num_rows</a>
|
||
()
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodpconnect" title="details" class="method-name">pconnect</a>
|
||
(<span class="var-type">string</span> <span class="var-name">$host</span>, <span class="var-type">string</span> <span class="var-name">$login</span>, <span class="var-type">string</span> <span class="var-name">$passwd</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">void</span>
|
||
<a href="#methodpdate" title="details" class="method-name">pdate</a>
|
||
(<span class="var-type">mixed</span> <span class="var-name">$fname</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">string</span>
|
||
<a href="#methodplimit" title="details" class="method-name">plimit</a>
|
||
(<span class="var-type">integer</span> <span class="var-name">$limit</span>, <span class="var-type">integer</span> <span class="var-name">$offset</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodquery" title="details" class="method-name">query</a>
|
||
(<span class="var-type">string</span> <span class="var-name">$query</span>, [<span class="var-type">string</span> <span class="var-name">$limit</span> = <span class="var-default">""</span>], [<span class="var-type">string</span> <span class="var-name">$offset</span> = <span class="var-default">""</span>])
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodresult" title="details" class="method-name">result</a>
|
||
(<span class="var-type">integer</span> <span class="var-name">$nb</span>, <span class="var-type">string</span> <span class="var-name">$fieldname</span>)
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">string</span>
|
||
<a href="#methodrollback" title="details" class="method-name">rollback</a>
|
||
([<span class="var-type">integer</span> <span class="var-name">$do</span> = <span class="var-default">1</span>])
|
||
</div>
|
||
|
||
<div class="method-definition">
|
||
<span class="method-result">resource</span>
|
||
<a href="#methodselect_db" title="details" class="method-name">select_db</a>
|
||
(<span class="var-type">string</span> <span class="var-name">$database</span>)
|
||
</div>
|
||
</div>
|
||
<hr />
|
||
<A NAME='method_detail'></A>
|
||
|
||
|
||
<a name="methodDoliDb" id="methodDoliDb"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/Constructor.gif" border="0" /> <strong class="method">Constructor DoliDb</strong> (line <span class="linenumber">57</span>)
|
||
</h4>
|
||
<h4><i>DoliDb</i> <strong>DoliDb(
|
||
[string
|
||
$type = 'mysql'], [string
|
||
$host = ''], [string
|
||
$user = ''], [string
|
||
$pass = ''], [string
|
||
$name = ''])</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>ouverture d'une connection vers le serveur et/ou une database</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>string $type</strong>: </li>
|
||
<li><strong>string $host</strong>: </li>
|
||
<li><strong>string $user</strong>: </li>
|
||
<li><strong>string $pass</strong>: </li>
|
||
<li><strong>string $name</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodaffected_rows" id="methodaffected_rows"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method affected_rows</strong> (line <span class="linenumber">498</span>)
|
||
</h4>
|
||
<h4><i>int</i> <strong>affected_rows(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>obtient le nombre de lignes affect<63>es dans la pr<70>c<EFBFBD>dente op<6F>ration</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodbegin" id="methodbegin"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method begin</strong> (line <span class="linenumber">230</span>)
|
||
</h4>
|
||
<h4><i>string</i> <strong>begin(
|
||
[integer
|
||
$do = 1])</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>debut d'un transaction</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>integer $do</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodclone" id="methodclone"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method clone</strong> (line <span class="linenumber">187</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>clone(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>copie d'une database</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodclose" id="methodclose"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method close</strong> (line <span class="linenumber">217</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>close(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>fermeture d'une connection vers une database</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodcommit" id="methodcommit"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method commit</strong> (line <span class="linenumber">250</span>)
|
||
</h4>
|
||
<h4><i>string</i> <strong>commit(
|
||
[integer
|
||
$do = 1])</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5><EFBFBD>criture d'un transaction</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>integer $do</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodconnect" id="methodconnect"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method connect</strong> (line <span class="linenumber">153</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>connect(
|
||
string
|
||
$host, string
|
||
$login, string
|
||
$passwd)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>connection vers une database</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>string $host</strong>: </li>
|
||
<li><strong>string $login</strong>: </li>
|
||
<li><strong>string $passwd</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodcreate_db" id="methodcreate_db"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method create_db</strong> (line <span class="linenumber">168</span>)
|
||
</h4>
|
||
<h4><i>integer</i> <strong>create_db(
|
||
string
|
||
$database)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>cr<EFBFBD>ation d'une database</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>string $database</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methoderrno" id="methoderrno"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method errno</strong> (line <span class="linenumber">471</span>)
|
||
</h4>
|
||
<h4><i>int</i> <strong>errno(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie la valeur numerique de l'erreur mysql de l'operation precedente</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methoderror" id="methoderror"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method error</strong> (line <span class="linenumber">459</span>)
|
||
</h4>
|
||
<h4><i>string</i> <strong>error(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie le texte de l'erreur mysql de l'operation precedente</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodfetch_array" id="methodfetch_array"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method fetch_array</strong> (line <span class="linenumber">399</span>)
|
||
</h4>
|
||
<h4><i>array</i> <strong>fetch_array(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie les donn<6E>es dans un tableau</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodfetch_field" id="methodfetch_field"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method fetch_field</strong> (line <span class="linenumber">423</span>)
|
||
</h4>
|
||
<h4><i>object</i> <strong>fetch_field(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>Get column information from a result and return as an object</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodfetch_object" id="methodfetch_object"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method fetch_object</strong> (line <span class="linenumber">347</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>fetch_object(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie les donn<6E>es comme un objet</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodfetch_row" id="methodfetch_row"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method fetch_row</strong> (line <span class="linenumber">411</span>)
|
||
</h4>
|
||
<h4><i>array</i> <strong>fetch_row(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie les donn<6E>es comme un tableau</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodfree" id="methodfree"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method free</strong> (line <span class="linenumber">335</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>free(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>d<EFBFBD>salloue la memoire de la requete</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodidate" id="methodidate"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method idate</strong> (line <span class="linenumber">387</span>)
|
||
</h4>
|
||
<h4><i>string</i> <strong>idate(
|
||
integer
|
||
$fname)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>formatage de la date en fonction des locales</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>integer $fname</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodlast_insert_id" id="methodlast_insert_id"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method last_insert_id</strong> (line <span class="linenumber">486</span>)
|
||
</h4>
|
||
<h4><i>int</i> <strong>last_insert_id(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>obtient l'id gen<65>r<EFBFBD> par le pr<70>cedent INSERT</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodlist_tables" id="methodlist_tables"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method list_tables</strong> (line <span class="linenumber">308</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>list_tables(
|
||
string
|
||
$database)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>liste des tables vers une database</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>string $database</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodnum_fields" id="methodnum_fields"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method num_fields</strong> (line <span class="linenumber">447</span>)
|
||
</h4>
|
||
<h4><i>int</i> <strong>num_fields(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie le nombre de champs dans le resultat de la requete</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodnum_rows" id="methodnum_rows"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method num_rows</strong> (line <span class="linenumber">435</span>)
|
||
</h4>
|
||
<h4><i>int</i> <strong>num_rows(
|
||
)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie le nombre de lignes dans le resultat de la requete</h5>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodpconnect" id="methodpconnect"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method pconnect</strong> (line <span class="linenumber">204</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>pconnect(
|
||
string
|
||
$host, string
|
||
$login, string
|
||
$passwd)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>ouverture d'une connection vers une database</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>string $host</strong>: </li>
|
||
<li><strong>string $login</strong>: </li>
|
||
<li><strong>string $passwd</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodpdate" id="methodpdate"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method pdate</strong> (line <span class="linenumber">374</span>)
|
||
</h4>
|
||
<h4><i>void</i> <strong>pdate(
|
||
mixed
|
||
$fname)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
<a name="methodplimit" id="methodplimit"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method plimit</strong> (line <span class="linenumber">361</span>)
|
||
</h4>
|
||
<h4><i>string</i> <strong>plimit(
|
||
[integer
|
||
$limit = 0], [integer
|
||
$offset = 0])</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>d<EFBFBD>fini les limites de la requ<71>te</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>integer $limit</strong>: </li>
|
||
<li><strong>integer $offset</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodquery" id="methodquery"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method query</strong> (line <span class="linenumber">292</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>query(
|
||
string
|
||
$query, [string
|
||
$limit = ""], [string
|
||
$offset = ""])</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>requete vers une database</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>string $query</strong>: </li>
|
||
<li><strong>string $limit</strong>: </li>
|
||
<li><strong>string $offset</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodresult" id="methodresult"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method result</strong> (line <span class="linenumber">323</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>result(
|
||
integer
|
||
$nb, string
|
||
$fieldname)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>renvoie les donn<6E>es de la requete</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>integer $nb</strong>: </li>
|
||
<li><strong>string $fieldname</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodrollback" id="methodrollback"><!-- --></a>
|
||
<div style="background='#ffffff'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method rollback</strong> (line <span class="linenumber">270</span>)
|
||
</h4>
|
||
<h4><i>string</i> <strong>rollback(
|
||
[integer
|
||
$do = 1])</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>effacement d'un transaction et retour au ancienne valeurs</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>integer $do</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<a name="methodselect_db" id="methodselect_db"><!-- --></a>
|
||
<div style="background='#eeeeee'"><h4>
|
||
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">Method select_db</strong> (line <span class="linenumber">138</span>)
|
||
</h4>
|
||
<h4><i>resource</i> <strong>select_db(
|
||
string
|
||
$database)</strong></h4>
|
||
|
||
<!-- ========== Info from phpDoc block ========= -->
|
||
<h5>selectionne une database</h5>
|
||
<h4>Parameters</h4>
|
||
<ul>
|
||
<li><strong>string $database</strong>: </li>
|
||
</ul>
|
||
|
||
<h4>Info</h4>
|
||
<ul>
|
||
<li><strong>access</strong> - public</li>
|
||
</ul>
|
||
</div>
|
||
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script></div>
|
||
<div class="tab-page" id="iVars">
|
||
<h2 class="tab">Inherited Variables</h2>
|
||
<script type="text/javascript">tp1.addTabPage( document.getElementById( "iVars" ) );</script>
|
||
<!-- =========== VAR INHERITED SUMMARY =========== -->
|
||
<A NAME='var_inherited_summary'><!-- --></A>
|
||
<h3>Inherited Class Variable Summary</h3>
|
||
|
||
</div>
|
||
<div class="tab-page" id="iMethods">
|
||
<h2 class="tab">Inherited Methods</h2>
|
||
<script type="text/javascript">tp1.addTabPage( document.getElementById( "iMethods" ) );</script>
|
||
<!-- =========== INHERITED METHOD SUMMARY =========== -->
|
||
<A NAME='functions_inherited'><!-- --></A>
|
||
<h3>Inherited Method Summary</h3>
|
||
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">
|
||
//<![CDATA[
|
||
|
||
setupAllTabs();
|
||
|
||
//]]>
|
||
</script>
|
||
<div id="credit">
|
||
<hr />
|
||
Documentation generated on Mon, 21 Jun 2004 23:58:40 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a>
|
||
</div>
|
||
</body>
|
||
</html> |