ajout des commentaires pour doxygen
This commit is contained in:
parent
bb94e85843
commit
b0c7b640e5
@ -5,7 +5,7 @@
|
||||
</head><body>
|
||||
<!-- Généré par Doxygen 1.3.7 -->
|
||||
<div class="qindex"><a class="qindex" href="index.html">Page principale</a> | <a class="qindex" href="classes.html">Liste alphabétique</a> | <a class="qindex" href="annotated.html">Liste des classes</a> | <a class="qindex" href="files.html">Liste des fichiers</a> | <a class="qindex" href="functions.html">Membres de classe</a> | <a class="qindex" href="globals.html">Membres de fichier</a></div>
|
||||
<h1>htdocs/lib/CMailFile.class.php</h1><pre class="fragment"><div>00001 <?php
|
||||
<h1>htdocs/lib/CMailFile.class.php</h1><a href="CMailFile_8class_8php.html">Aller à la documentation de ce fichier.</a><pre class="fragment"><div>00001 <?php
|
||||
00002 <span class="comment">/* notes from Dan Potter:</span>
|
||||
00003 <span class="comment">Sure. I changed a few other things in here too though. One is that I let</span>
|
||||
00004 <span class="comment">you specify what the destination filename is (i.e., what is shows up as in</span>
|
||||
@ -25,142 +25,132 @@
|
||||
00018 <span class="comment">*/</span>
|
||||
00019 <span class="comment">/* Note: if you don't have base64_encode on your sytem it will not work */</span>
|
||||
00020
|
||||
00021 <span class="comment">/*</span>
|
||||
00022 <span class="comment"> Éric Seigne <eric.seigne@ryxeo.com> 2004.01.08</span>
|
||||
00023 <span class="comment"> - ajout de la gestion du Cc</span>
|
||||
00024 <span class="comment"> - ajout de l'expédition de plusieurs fichiers</span>
|
||||
00025 <span class="comment"></span>
|
||||
00026 <span class="comment"> Laurent Destailleur 2004.02.10</span>
|
||||
00027 <span class="comment"> - Correction d'un disfonctionnement suite à modif précédente sur la gestion</span>
|
||||
00028 <span class="comment"> des attachements multi-fichiers</span>
|
||||
00029 <span class="comment">*/</span>
|
||||
00030
|
||||
00031 <span class="comment">// simple class that encapsulates mail() with addition of mime file attachment.</span>
|
||||
00032 <span class="keyword">class </span>CMailFile
|
||||
00033 {
|
||||
00034 var $subject;
|
||||
00035 var $addr_to;
|
||||
00036 var $addr_cc;
|
||||
00037 var $text_body;
|
||||
00038 var $text_encoded;
|
||||
00039 var $mime_headers;
|
||||
00040 var $mime_boundary = <span class="stringliteral">"--==================_846811060==_"</span>;
|
||||
00041 var $smtp_headers;
|
||||
00042
|
||||
00043 <span class="comment">// CMail("sujet","email_to","email_from","email_msg",tableau du path de fichiers,tableau de type mime,tableau de noms fichiers,"chaine cc")</span>
|
||||
00044 function CMailFile($subject,$to,$from,$msg,$filename_list,$mimetype_list,$mimefilename_list,$addr_cc = <span class="stringliteral">""</span>)
|
||||
00045 {
|
||||
00046 $this->subject = $subject;
|
||||
00047 $this->addr_to = $to;
|
||||
00048 $this->smtp_headers = $this->write_smtpheaders($from,$addr_cc);
|
||||
00049 $this->text_body = $this->write_body($msg, $filename_list);
|
||||
00050 <span class="keywordflow">if</span> (count($filename_list)) {
|
||||
00051 $this->mime_headers = $this->write_mimeheaders($filename_list, $mimefilename_list);
|
||||
00052 $this->text_encoded = $this->attach_file($filename_list,$mimetype_list,$mimefilename_list);
|
||||
00053 }
|
||||
00054 }
|
||||
00055
|
||||
00056 function attach_file($filename_list,$mimetype_list,$mimefilename_list)
|
||||
00057 {
|
||||
00058 <span class="keywordflow">for</span> ($i = 0; $i < count($filename_list); $i++) {
|
||||
00059 $encoded = $this->encode_file($filename_list[$i]);
|
||||
00060 <span class="keywordflow">if</span> ($mimefilename_list[$i]) $filename_list[$i] = $mimefilename_list[$i];
|
||||
00061 $out = $out . <span class="stringliteral">"--"</span> . $this->mime_boundary . <span class="stringliteral">"\n"</span>;
|
||||
00062 <span class="keywordflow">if</span> (! $mimetype_list[$i]) { $mimetype_list[$i] = <span class="stringliteral">"application/octet-stream"</span>; }
|
||||
00063 $out = $out . <span class="stringliteral">"Content-type: "</span> . $mimetype_list[$i] . <span class="stringliteral">"; name=\"$filename_list[$i]\";\n"</span>;
|
||||
00064 $out = $out . <span class="stringliteral">"Content-Transfer-Encoding: base64\n"</span>;
|
||||
00065 $out = $out . <span class="stringliteral">"Content-disposition: attachment; filename=\"$filename_list[$i]\"\n\n"</span>;
|
||||
00066 $out = $out . $encoded . <span class="stringliteral">"\n"</span>;
|
||||
00067 }
|
||||
00068 $out = $out . <span class="stringliteral">"--"</span> . $this->mime_boundary . <span class="stringliteral">"--"</span> . <span class="stringliteral">"\n"</span>;
|
||||
00069 <span class="keywordflow">return</span> $out;
|
||||
00070 <span class="comment">// added -- to notify email client attachment is done</span>
|
||||
00071 }
|
||||
00072
|
||||
00073 function encode_file($sourcefile)
|
||||
00074 {
|
||||
00075 <span class="comment">// print "<pre> on encode $sourcefile </pre>\n";</span>
|
||||
00076 <span class="keywordflow">if</span> (is_readable($sourcefile))
|
||||
00077 {
|
||||
00078 $fd = fopen($sourcefile, <span class="stringliteral">"r"</span>);
|
||||
00079 $contents = fread($fd, filesize($sourcefile));
|
||||
00080 $encoded = my_chunk_split(base64_encode($contents));
|
||||
00081 fclose($fd);
|
||||
00082 }
|
||||
00083 <span class="keywordflow">return</span> $encoded;
|
||||
00084 }
|
||||
00085
|
||||
00086 function sendfile()
|
||||
00087 {
|
||||
00088 $headers .= $this->smtp_headers . $this->mime_headers;
|
||||
00089 $message = $this->text_body . $this->text_encoded;
|
||||
00090 <span class="keywordflow">return</span> mail($this->addr_to,$this->subject,stripslashes($message),$headers);
|
||||
00039 <span class="comment">// simple class that encapsulates mail() with addition of mime file attachment.</span>
|
||||
<a name="l00040"></a><a class="code" href="classCMailFile.html">00040</a> <span class="keyword">class </span><a class="code" href="classCMailFile.html">CMailFile</a>
|
||||
00041 {
|
||||
00042 var $subject;
|
||||
00043 var $addr_to;
|
||||
00044 var $addr_cc;
|
||||
00045 var $text_body;
|
||||
00046 var $text_encoded;
|
||||
00047 var $mime_headers;
|
||||
00048 var $mime_boundary = <span class="stringliteral">"--==================_846811060==_"</span>;
|
||||
00049 var $smtp_headers;
|
||||
00050
|
||||
00063 <span class="comment">// CMail("sujet","email_to","email_from","email_msg",tableau du path de fichiers,tableau de type mime,tableau de noms fichiers,"chaine cc")</span>
|
||||
<a name="l00064"></a><a class="code" href="classCMailFile.html#a0">00064</a> function <a class="code" href="classCMailFile.html">CMailFile</a>($subject,$to,$from,$msg,$filename_list,$mimetype_list,$mimefilename_list,$addr_cc = <span class="stringliteral">""</span>)
|
||||
00065 {
|
||||
00066 $this->subject = $subject;
|
||||
00067 $this->addr_to = $to;
|
||||
00068 $this->smtp_headers = $this->write_smtpheaders($from,$addr_cc);
|
||||
00069 $this->text_body = $this->write_body($msg, $filename_list);
|
||||
00070 <span class="keywordflow">if</span> (count($filename_list)) {
|
||||
00071 $this->mime_headers = $this->write_mimeheaders($filename_list, $mimefilename_list);
|
||||
00072 $this->text_encoded = $this->attach_file($filename_list,$mimetype_list,$mimefilename_list);
|
||||
00073 }
|
||||
00074 }
|
||||
00075
|
||||
00076 function attach_file($filename_list,$mimetype_list,$mimefilename_list)
|
||||
00077 {
|
||||
00078 <span class="keywordflow">for</span> ($i = 0; $i < count($filename_list); $i++) {
|
||||
00079 $encoded = $this->encode_file($filename_list[$i]);
|
||||
00080 <span class="keywordflow">if</span> ($mimefilename_list[$i]) $filename_list[$i] = $mimefilename_list[$i];
|
||||
00081 $out = $out . <span class="stringliteral">"--"</span> . $this->mime_boundary . <span class="stringliteral">"\n"</span>;
|
||||
00082 <span class="keywordflow">if</span> (! $mimetype_list[$i]) { $mimetype_list[$i] = <span class="stringliteral">"application/octet-stream"</span>; }
|
||||
00083 $out = $out . <span class="stringliteral">"Content-type: "</span> . $mimetype_list[$i] . <span class="stringliteral">"; name=\"$filename_list[$i]\";\n"</span>;
|
||||
00084 $out = $out . <span class="stringliteral">"Content-Transfer-Encoding: base64\n"</span>;
|
||||
00085 $out = $out . <span class="stringliteral">"Content-disposition: attachment; filename=\"$filename_list[$i]\"\n\n"</span>;
|
||||
00086 $out = $out . $encoded . <span class="stringliteral">"\n"</span>;
|
||||
00087 }
|
||||
00088 $out = $out . <span class="stringliteral">"--"</span> . $this->mime_boundary . <span class="stringliteral">"--"</span> . <span class="stringliteral">"\n"</span>;
|
||||
00089 <span class="keywordflow">return</span> $out;
|
||||
00090 <span class="comment">// added -- to notify email client attachment is done</span>
|
||||
00091 }
|
||||
00092
|
||||
00093 function write_body($msgtext, $filename_list)
|
||||
00092
|
||||
00093 function encode_file($sourcefile)
|
||||
00094 {
|
||||
00095 <span class="keywordflow">if</span> (count($filename_list))
|
||||
00096 {
|
||||
00097 $out = <span class="stringliteral">"--"</span> . $this->mime_boundary . <span class="stringliteral">"\n"</span>;
|
||||
00098 $out = $out . <span class="stringliteral">"Content-Type: text/plain; charset=\"iso8859-15\"\n\n"</span>;
|
||||
00099 <span class="comment">// $out = $out . "Content-Type: text/plain; charset=\"us-ascii\"\n\n";</span>
|
||||
00100 }
|
||||
00101 $out = $out . $msgtext . <span class="stringliteral">"\n"</span>;
|
||||
00102 <span class="keywordflow">return</span> $out;
|
||||
00103 }
|
||||
00104
|
||||
00105 function write_mimeheaders($filename_list, $mimefilename_list) {
|
||||
00106 $out = <span class="stringliteral">"MIME-version: 1.0\n"</span>;
|
||||
00107 $out = $out . <span class="stringliteral">"Content-type: multipart/mixed; "</span>;
|
||||
00108 $out = $out . <span class="stringliteral">"boundary=\"$this->mime_boundary\"\n"</span>;
|
||||
00109 $out = $out . <span class="stringliteral">"Content-transfer-encoding: 7BIT\n"</span>;
|
||||
00110 <span class="keywordflow">for</span>($i = 0; $i < count($filename_list); $i++) {
|
||||
00111 <span class="keywordflow">if</span> ($mimefilename_list[$i]) $filename_list[$i] = $mimefilename_list[$i];
|
||||
00112 $out = $out . <span class="stringliteral">"X-attachments: $filename_list[$i];\n\n"</span>;
|
||||
00113 }
|
||||
00114 <span class="keywordflow">return</span> $out;
|
||||
00115 }
|
||||
00116
|
||||
00117 function write_smtpheaders($addr_from,$addr_cc)
|
||||
00118 {
|
||||
00119 $out = <span class="stringliteral">"From: $addr_from\n"</span>;
|
||||
00120 <span class="keywordflow">if</span>($addr_cc != <span class="stringliteral">""</span>)
|
||||
00121 $out = $out . <span class="stringliteral">"Cc: $addr_cc\n"</span>;
|
||||
00122 $out = $out . <span class="stringliteral">"Reply-To: $addr_from\n"</span>;
|
||||
00123 $out = $out . <span class="stringliteral">"X-Mailer: Dolibarr version "</span> . DOL_VERSION .<span class="stringliteral">"\n"</span>;
|
||||
00124 $out = $out . <span class="stringliteral">"X-Sender: $addr_from\n"</span>;
|
||||
00125 <span class="keywordflow">return</span> $out;
|
||||
00126 }
|
||||
00127 }
|
||||
00128
|
||||
00129 <span class="comment">// usage - mimetype example "image/gif"</span>
|
||||
00130 <span class="comment">// $mailfile = new CMailFile($subject,$sendto,$replyto,$message,$filename,$mimetype);</span>
|
||||
00131 <span class="comment">// $mailfile->sendfile();</span>
|
||||
00132
|
||||
00133 <span class="comment">// Splits a string by RFC2045 semantics (76 chars per line, end with \r\n).</span>
|
||||
00134 <span class="comment">// This is not in all PHP versions so I define one here manuall.</span>
|
||||
00135 function my_chunk_split($str)
|
||||
00136 {
|
||||
00137 $stmp = $str;
|
||||
00138 $len = strlen($stmp);
|
||||
00139 $out = <span class="stringliteral">""</span>;
|
||||
00140 <span class="keywordflow">while</span> ($len > 0) {
|
||||
00141 <span class="keywordflow">if</span> ($len >= 76) {
|
||||
00142 $out = $out . substr($stmp, 0, 76) . <span class="stringliteral">"\r\n"</span>;
|
||||
00143 $stmp = substr($stmp, 76);
|
||||
00144 $len = $len - 76;
|
||||
00145 }
|
||||
00146 <span class="keywordflow">else</span> {
|
||||
00147 $out = $out . $stmp . <span class="stringliteral">"\r\n"</span>;
|
||||
00148 $stmp = <span class="stringliteral">""</span>; $len = 0;
|
||||
00149 }
|
||||
00150 }
|
||||
00151 <span class="keywordflow">return</span> $out;
|
||||
00152 }
|
||||
00153
|
||||
00154 <span class="comment">// end script</span>
|
||||
00155 ?>
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:37 2004 pour dolibarr par
|
||||
00095 <span class="comment">// print "<pre> on encode $sourcefile </pre>\n";</span>
|
||||
00096 <span class="keywordflow">if</span> (is_readable($sourcefile))
|
||||
00097 {
|
||||
00098 $fd = fopen($sourcefile, <span class="stringliteral">"r"</span>);
|
||||
00099 $contents = fread($fd, filesize($sourcefile));
|
||||
00100 $encoded = my_chunk_split(base64_encode($contents));
|
||||
00101 fclose($fd);
|
||||
00102 }
|
||||
00103 <span class="keywordflow">return</span> $encoded;
|
||||
00104 }
|
||||
00105
|
||||
00106 function sendfile()
|
||||
00107 {
|
||||
00108 $headers .= $this->smtp_headers . $this->mime_headers;
|
||||
00109 $message = $this->text_body . $this->text_encoded;
|
||||
00110 <span class="keywordflow">return</span> mail($this->addr_to,$this->subject,stripslashes($message),$headers);
|
||||
00111 }
|
||||
00112
|
||||
00113 function write_body($msgtext, $filename_list)
|
||||
00114 {
|
||||
00115 <span class="keywordflow">if</span> (count($filename_list))
|
||||
00116 {
|
||||
00117 $out = <span class="stringliteral">"--"</span> . $this->mime_boundary . <span class="stringliteral">"\n"</span>;
|
||||
00118 $out = $out . <span class="stringliteral">"Content-Type: text/plain; charset=\"iso8859-15\"\n\n"</span>;
|
||||
00119 <span class="comment">// $out = $out . "Content-Type: text/plain; charset=\"us-ascii\"\n\n";</span>
|
||||
00120 }
|
||||
00121 $out = $out . $msgtext . <span class="stringliteral">"\n"</span>;
|
||||
00122 <span class="keywordflow">return</span> $out;
|
||||
00123 }
|
||||
00124
|
||||
00125 function write_mimeheaders($filename_list, $mimefilename_list) {
|
||||
00126 $out = <span class="stringliteral">"MIME-version: 1.0\n"</span>;
|
||||
00127 $out = $out . <span class="stringliteral">"Content-type: multipart/mixed; "</span>;
|
||||
00128 $out = $out . <span class="stringliteral">"boundary=\"$this->mime_boundary\"\n"</span>;
|
||||
00129 $out = $out . <span class="stringliteral">"Content-transfer-encoding: 7BIT\n"</span>;
|
||||
00130 <span class="keywordflow">for</span>($i = 0; $i < count($filename_list); $i++) {
|
||||
00131 <span class="keywordflow">if</span> ($mimefilename_list[$i]) $filename_list[$i] = $mimefilename_list[$i];
|
||||
00132 $out = $out . <span class="stringliteral">"X-attachments: $filename_list[$i];\n\n"</span>;
|
||||
00133 }
|
||||
00134 <span class="keywordflow">return</span> $out;
|
||||
00135 }
|
||||
00136
|
||||
00137 function write_smtpheaders($addr_from,$addr_cc)
|
||||
00138 {
|
||||
00139 $out = <span class="stringliteral">"From: $addr_from\n"</span>;
|
||||
00140 <span class="keywordflow">if</span>($addr_cc != <span class="stringliteral">""</span>)
|
||||
00141 $out = $out . <span class="stringliteral">"Cc: $addr_cc\n"</span>;
|
||||
00142 $out = $out . <span class="stringliteral">"Reply-To: $addr_from\n"</span>;
|
||||
00143 $out = $out . <span class="stringliteral">"X-Mailer: Dolibarr version "</span> . DOL_VERSION .<span class="stringliteral">"\n"</span>;
|
||||
00144 $out = $out . <span class="stringliteral">"X-Sender: $addr_from\n"</span>;
|
||||
00145 <span class="keywordflow">return</span> $out;
|
||||
00146 }
|
||||
00147 }
|
||||
00148
|
||||
00149 <span class="comment">// usage - mimetype example "image/gif"</span>
|
||||
00150 <span class="comment">// $mailfile = new CMailFile($subject,$sendto,$replyto,$message,$filename,$mimetype);</span>
|
||||
00151 <span class="comment">// $mailfile->sendfile();</span>
|
||||
00152
|
||||
00153 <span class="comment">// Splits a string by RFC2045 semantics (76 chars per line, end with \r\n).</span>
|
||||
00154 <span class="comment">// This is not in all PHP versions so I define one here manuall.</span>
|
||||
00155 function my_chunk_split($str)
|
||||
00156 {
|
||||
00157 $stmp = $str;
|
||||
00158 $len = strlen($stmp);
|
||||
00159 $out = <span class="stringliteral">""</span>;
|
||||
00160 <span class="keywordflow">while</span> ($len > 0) {
|
||||
00161 <span class="keywordflow">if</span> ($len >= 76) {
|
||||
00162 $out = $out . substr($stmp, 0, 76) . <span class="stringliteral">"\r\n"</span>;
|
||||
00163 $stmp = substr($stmp, 76);
|
||||
00164 $len = $len - 76;
|
||||
00165 }
|
||||
00166 <span class="keywordflow">else</span> {
|
||||
00167 $out = $out . $stmp . <span class="stringliteral">"\r\n"</span>;
|
||||
00168 $stmp = <span class="stringliteral">""</span>; $len = 0;
|
||||
00169 }
|
||||
00170 }
|
||||
00171 <span class="keywordflow">return</span> $out;
|
||||
00172 }
|
||||
00173
|
||||
00174 <span class="comment">// end script</span>
|
||||
00175 ?>
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:06 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -6,15 +6,15 @@
|
||||
<!-- Généré par Doxygen 1.3.7 -->
|
||||
<div class="qindex"><a class="qindex" href="index.html">Page principale</a> | <a class="qindex" href="classes.html">Liste alphabétique</a> | <a class="qindex" href="annotated.html">Liste des classes</a> | <a class="qindexHL" href="files.html">Liste des fichiers</a> | <a class="qindex" href="functions.html">Membres de classe</a> | <a class="qindex" href="globals.html">Membres de fichier</a></div>
|
||||
<h1>dolibarr Liste des fichiers</h1>Liste de tous les fichiers documentés avec une brève description:<table>
|
||||
<tr><td class="indexkey">htdocs/lib/<b>CMailFile.class.php</b> <a href="CMailFile_8class_8php-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<b>functions.inc.php</b> <a href="functions_8inc_8php-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="CMailFile_8class_8php.html">CMailFile.class.php</a> <a href="CMailFile_8class_8php-source.html">[code]</a></td><td class="indexvalue">Classe permettant d'envoyer des attachements par mail </td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="functions_8inc_8php.html">functions.inc.php</a> <a href="functions_8inc_8php-source.html">[code]</a></td><td class="indexvalue">Ensemble de fonctions de base de dolibarr sous forme d'include </td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="ldap_8lib_8php.html">ldap.lib.php</a> <a href="ldap_8lib_8php-source.html">[code]</a></td><td class="indexvalue">Librairie contenant les fonctions pour accèder au serveur ldap </td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="mysql_8lib_8php.html">mysql.lib.php</a> <a href="mysql_8lib_8php-source.html">[code]</a></td><td class="indexvalue">Classes permettant de gérér la database de dolibarr </td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="mysql_8lib_8php.html">mysql.lib.php</a> <a href="mysql_8lib_8php-source.html">[code]</a></td><td class="indexvalue">Classe permettant de gérér la database de dolibarr </td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="price_8lib_8php.html">price.lib.php</a> <a href="price_8lib_8php-source.html">[code]</a></td><td class="indexvalue">Librairie contenant les fonctions pour calculer un prix </td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="thermometer_8php.html">thermometer.php</a> <a href="thermometer_8php-source.html">[code]</a></td><td class="indexvalue">Classe permettant d'afficher un thermometre </td></tr>
|
||||
<tr><td class="indexkey">htdocs/lib/<a class="el" href="webcal_8class_8php.html">webcal.class.php</a> <a href="webcal_8class_8php-source.html">[code]</a></td><td class="indexvalue">Classe permettant d'acceder a la database webcalendar </td></tr>
|
||||
</table>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:37 2004 pour dolibarr par
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:06 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -6,19 +6,73 @@
|
||||
<!-- Généré par Doxygen 1.3.7 -->
|
||||
<div class="qindex"><a class="qindex" href="index.html">Page principale</a> | <a class="qindex" href="classes.html">Liste alphabétique</a> | <a class="qindex" href="annotated.html">Liste des classes</a> | <a class="qindex" href="files.html">Liste des fichiers</a> | <a class="qindex" href="functions.html">Membres de classe</a> | <a class="qindexHL" href="globals.html">Membres de fichier</a></div>
|
||||
<div class="qindex"><a class="qindexHL" href="globals.html">Tout</a> | <a class="qindex" href="globals_func.html">Fonctions</a></div>
|
||||
<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a></div>
|
||||
|
||||
<p>
|
||||
Liste de tous les membres de fichier documentés avec liens vers la documentation:<ul>
|
||||
|
||||
<p>
|
||||
Liste de tous les membres de fichier documentés avec liens vers la documentation:<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
|
||||
<li>accessforbidden()
|
||||
: <a class="el" href="functions_8inc_8php.html#a22">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
|
||||
<li>block_access()
|
||||
: <a class="el" href="functions_8inc_8php.html#a31">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
|
||||
<li>calcul_price()
|
||||
: <a class="el" href="price_8lib_8php.html#a0">price.lib.php</a><li>dolibarr_ldap_bind()
|
||||
: <a class="el" href="price_8lib_8php.html#a0">price.lib.php</a><li>creer_pass_aleatoire()
|
||||
: <a class="el" href="functions_8inc_8php.html#a45">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
|
||||
<li>dol_delete_file()
|
||||
: <a class="el" href="functions_8inc_8php.html#a30">functions.inc.php</a><li>dolibarr_del_const()
|
||||
: <a class="el" href="functions_8inc_8php.html#a4">functions.inc.php</a><li>dolibarr_fiche_head()
|
||||
: <a class="el" href="functions_8inc_8php.html#a2">functions.inc.php</a><li>dolibarr_ldap_bind()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a1">ldap.lib.php</a><li>dolibarr_ldap_connect()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a0">ldap.lib.php</a><li>dolibarr_ldap_getversion()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a3">ldap.lib.php</a><li>dolibarr_ldap_setversion()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a4">ldap.lib.php</a><li>dolibarr_ldap_unacc()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a5">ldap.lib.php</a><li>dolibarr_ldap_unbind()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a2">ldap.lib.php</a><li>moneyMeter()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a2">ldap.lib.php</a><li>dolibarr_print_ca()
|
||||
: <a class="el" href="functions_8inc_8php.html#a5">functions.inc.php</a><li>dolibarr_print_date()
|
||||
: <a class="el" href="functions_8inc_8php.html#a6">functions.inc.php</a><li>dolibarr_print_object_info()
|
||||
: <a class="el" href="functions_8inc_8php.html#a7">functions.inc.php</a><li>dolibarr_print_phone()
|
||||
: <a class="el" href="functions_8inc_8php.html#a8">functions.inc.php</a><li>dolibarr_set_const()
|
||||
: <a class="el" href="functions_8inc_8php.html#a3">functions.inc.php</a><li>dolibarr_syslog()
|
||||
: <a class="el" href="functions_8inc_8php.html#a1">functions.inc.php</a><li>doliMoveFileUpload()
|
||||
: <a class="el" href="functions_8inc_8php.html#a23">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
|
||||
<li>francs()
|
||||
: <a class="el" href="functions_8inc_8php.html#a39">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
|
||||
<li>inctva()
|
||||
: <a class="el" href="functions_8inc_8php.html#a41">functions.inc.php</a><li>initialiser_sel()
|
||||
: <a class="el" href="functions_8inc_8php.html#a46">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
|
||||
<li>logfile()
|
||||
: <a class="el" href="functions_8inc_8php.html#a44">functions.inc.php</a><li>loginfunction()
|
||||
: <a class="el" href="functions_8inc_8php.html#a21">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
|
||||
<li>moneyMeter()
|
||||
: <a class="el" href="thermometer_8php.html#a0">thermometer.php</a></ul>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
|
||||
<li>price()
|
||||
: <a class="el" href="functions_8inc_8php.html#a38">functions.inc.php</a><li>print_date_select()
|
||||
: <a class="el" href="functions_8inc_8php.html#a35">functions.inc.php</a><li>print_duree_select()
|
||||
: <a class="el" href="functions_8inc_8php.html#a37">functions.inc.php</a><li>print_fiche_titre()
|
||||
: <a class="el" href="functions_8inc_8php.html#a29">functions.inc.php</a><li>print_fleche_navigation()
|
||||
: <a class="el" href="functions_8inc_8php.html#a33">functions.inc.php</a><li>print_heure_select()
|
||||
: <a class="el" href="functions_8inc_8php.html#a36">functions.inc.php</a><li>print_liste_field_titre()
|
||||
: <a class="el" href="functions_8inc_8php.html#a26">functions.inc.php</a><li>print_liste_field_titre_new()
|
||||
: <a class="el" href="functions_8inc_8php.html#a27">functions.inc.php</a><li>print_oui_non()
|
||||
: <a class="el" href="functions_8inc_8php.html#a34">functions.inc.php</a><li>print_titre()
|
||||
: <a class="el" href="functions_8inc_8php.html#a28">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
|
||||
<li>stat_print()
|
||||
: <a class="el" href="functions_8inc_8php.html#a42">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_t">- t -</a></h3><ul>
|
||||
<li>transcoS2L()
|
||||
: <a class="el" href="functions_8inc_8php.html#a25">functions.inc.php</a><li>tva()
|
||||
: <a class="el" href="functions_8inc_8php.html#a40">functions.inc.php</a></ul>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -6,19 +6,73 @@
|
||||
<!-- Généré par Doxygen 1.3.7 -->
|
||||
<div class="qindex"><a class="qindex" href="index.html">Page principale</a> | <a class="qindex" href="classes.html">Liste alphabétique</a> | <a class="qindex" href="annotated.html">Liste des classes</a> | <a class="qindex" href="files.html">Liste des fichiers</a> | <a class="qindex" href="functions.html">Membres de classe</a> | <a class="qindexHL" href="globals.html">Membres de fichier</a></div>
|
||||
<div class="qindex"><a class="qindex" href="globals.html">Tout</a> | <a class="qindexHL" href="globals_func.html">Fonctions</a></div>
|
||||
<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a></div>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
|
||||
<li>accessforbidden()
|
||||
: <a class="el" href="functions_8inc_8php.html#a22">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
|
||||
<li>block_access()
|
||||
: <a class="el" href="functions_8inc_8php.html#a31">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
|
||||
<li>calcul_price()
|
||||
: <a class="el" href="price_8lib_8php.html#a0">price.lib.php</a><li>dolibarr_ldap_bind()
|
||||
: <a class="el" href="price_8lib_8php.html#a0">price.lib.php</a><li>creer_pass_aleatoire()
|
||||
: <a class="el" href="functions_8inc_8php.html#a45">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
|
||||
<li>dol_delete_file()
|
||||
: <a class="el" href="functions_8inc_8php.html#a30">functions.inc.php</a><li>dolibarr_del_const()
|
||||
: <a class="el" href="functions_8inc_8php.html#a4">functions.inc.php</a><li>dolibarr_fiche_head()
|
||||
: <a class="el" href="functions_8inc_8php.html#a2">functions.inc.php</a><li>dolibarr_ldap_bind()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a1">ldap.lib.php</a><li>dolibarr_ldap_connect()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a0">ldap.lib.php</a><li>dolibarr_ldap_getversion()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a3">ldap.lib.php</a><li>dolibarr_ldap_setversion()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a4">ldap.lib.php</a><li>dolibarr_ldap_unacc()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a5">ldap.lib.php</a><li>dolibarr_ldap_unbind()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a2">ldap.lib.php</a><li>moneyMeter()
|
||||
: <a class="el" href="ldap_8lib_8php.html#a2">ldap.lib.php</a><li>dolibarr_print_ca()
|
||||
: <a class="el" href="functions_8inc_8php.html#a5">functions.inc.php</a><li>dolibarr_print_date()
|
||||
: <a class="el" href="functions_8inc_8php.html#a6">functions.inc.php</a><li>dolibarr_print_object_info()
|
||||
: <a class="el" href="functions_8inc_8php.html#a7">functions.inc.php</a><li>dolibarr_print_phone()
|
||||
: <a class="el" href="functions_8inc_8php.html#a8">functions.inc.php</a><li>dolibarr_set_const()
|
||||
: <a class="el" href="functions_8inc_8php.html#a3">functions.inc.php</a><li>dolibarr_syslog()
|
||||
: <a class="el" href="functions_8inc_8php.html#a1">functions.inc.php</a><li>doliMoveFileUpload()
|
||||
: <a class="el" href="functions_8inc_8php.html#a23">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
|
||||
<li>francs()
|
||||
: <a class="el" href="functions_8inc_8php.html#a39">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
|
||||
<li>inctva()
|
||||
: <a class="el" href="functions_8inc_8php.html#a41">functions.inc.php</a><li>initialiser_sel()
|
||||
: <a class="el" href="functions_8inc_8php.html#a46">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
|
||||
<li>logfile()
|
||||
: <a class="el" href="functions_8inc_8php.html#a44">functions.inc.php</a><li>loginfunction()
|
||||
: <a class="el" href="functions_8inc_8php.html#a21">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
|
||||
<li>moneyMeter()
|
||||
: <a class="el" href="thermometer_8php.html#a0">thermometer.php</a></ul>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
|
||||
<li>price()
|
||||
: <a class="el" href="functions_8inc_8php.html#a38">functions.inc.php</a><li>print_date_select()
|
||||
: <a class="el" href="functions_8inc_8php.html#a35">functions.inc.php</a><li>print_duree_select()
|
||||
: <a class="el" href="functions_8inc_8php.html#a37">functions.inc.php</a><li>print_fiche_titre()
|
||||
: <a class="el" href="functions_8inc_8php.html#a29">functions.inc.php</a><li>print_fleche_navigation()
|
||||
: <a class="el" href="functions_8inc_8php.html#a33">functions.inc.php</a><li>print_heure_select()
|
||||
: <a class="el" href="functions_8inc_8php.html#a36">functions.inc.php</a><li>print_liste_field_titre()
|
||||
: <a class="el" href="functions_8inc_8php.html#a26">functions.inc.php</a><li>print_liste_field_titre_new()
|
||||
: <a class="el" href="functions_8inc_8php.html#a27">functions.inc.php</a><li>print_oui_non()
|
||||
: <a class="el" href="functions_8inc_8php.html#a34">functions.inc.php</a><li>print_titre()
|
||||
: <a class="el" href="functions_8inc_8php.html#a28">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
|
||||
<li>stat_print()
|
||||
: <a class="el" href="functions_8inc_8php.html#a42">functions.inc.php</a></ul>
|
||||
<h3><a class="anchor" name="index_t">- t -</a></h3><ul>
|
||||
<li>transcoS2L()
|
||||
: <a class="el" href="functions_8inc_8php.html#a25">functions.inc.php</a><li>tva()
|
||||
: <a class="el" href="functions_8inc_8php.html#a40">functions.inc.php</a></ul>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -66,7 +66,7 @@ Une fl
|
||||
<li>
|
||||
Une flèche verte en pointillés indique une relation entre une classe instanciée et le modèle de classe utilisé. La flèche est étiquetée avec les paramètres de modèle de la classe instanciée. </li>
|
||||
</ul>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:39 2004 pour dolibarr par
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:08 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<div class="qindex"><a class="qindexHL" href="index.html">Page principale</a> | <a class="qindex" href="classes.html">Liste alphabétique</a> | <a class="qindex" href="annotated.html">Liste des classes</a> | <a class="qindex" href="files.html">Liste des fichiers</a> | <a class="qindex" href="functions.html">Membres de classe</a> | <a class="qindex" href="globals.html">Membres de fichier</a></div>
|
||||
<h1>dolibarr Documentation</h1>
|
||||
<p>
|
||||
<h3 align="center">1.2.0 </h3><hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:37 2004 pour dolibarr par
|
||||
<h3 align="center">1.2.0 </h3><hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:06 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
00124 }
|
||||
00125
|
||||
00126 ?>
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -273,7 +273,7 @@ unbind du serveur ldap.
|
||||
Définition à la ligne <a class="el" href="ldap_8lib_8php-source.html#l00070">70</a> du fichier <a class="el" href="ldap_8lib_8php-source.html">ldap.lib.php</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -29,269 +29,269 @@
|
||||
00022 <span class="comment"> *</span>
|
||||
00023 <span class="comment"> */</span>
|
||||
00024
|
||||
00035 <span class="keyword">class </span>DoliDb {
|
||||
00036 var $db, $results, $ok, $connected, $database_selected;
|
||||
00037
|
||||
00038 <span class="comment">// Constantes pour code erreurs</span>
|
||||
00039 var $ERROR_DUPLICATE=1062;
|
||||
00040 var $ERROR_TABLEEXISTS=1050;
|
||||
00041
|
||||
00051 Function DoliDb($type = 'mysql', $host = '', $user = '', $pass = '', $name = '')
|
||||
00052
|
||||
00053 <span class="comment">// Se connecte au serveur et éventuellement à une base (si spécifié)</span>
|
||||
00054 <span class="comment">// Renvoie 1 en cas de succès, 0 sinon</span>
|
||||
00055
|
||||
00056 {
|
||||
00057 global $conf;
|
||||
<a name="l00041"></a><a class="code" href="classDoliDb.html">00041</a> <span class="keyword">class </span><a class="code" href="classDoliDb.html">DoliDb</a> {
|
||||
00042 var $db, $results, $ok, $connected, $database_selected;
|
||||
00043
|
||||
00044 <span class="comment">// Constantes pour code erreurs</span>
|
||||
00045 var $ERROR_DUPLICATE=1062;
|
||||
00046 var $ERROR_TABLEEXISTS=1050;
|
||||
00047
|
||||
<a name="l00057"></a><a class="code" href="classDoliDb.html#a0">00057</a> function <a class="code" href="classDoliDb.html">DoliDb</a>($type = 'mysql', $host = '', $user = '', $pass = '', $name = '')
|
||||
00058
|
||||
00059 <span class="keywordflow">if</span> ($host == '')
|
||||
00060 {
|
||||
00061 $host = $conf->db->host;
|
||||
00062 }
|
||||
00063
|
||||
00064 <span class="keywordflow">if</span> ($user == '')
|
||||
00065 {
|
||||
00066 $user = $conf->db->user;
|
||||
00067 }
|
||||
00068
|
||||
00069 <span class="keywordflow">if</span> ($pass == '')
|
||||
00070 {
|
||||
00071 $pass = $conf->db->pass;
|
||||
00072 }
|
||||
00073
|
||||
00074 <span class="keywordflow">if</span> ($name == '')
|
||||
00075 {
|
||||
00076 $name = $conf->db->name;
|
||||
00077 }
|
||||
00078
|
||||
00079 <span class="comment">//print "Name DB: $host,$user,$pass,$name<br>";</span>
|
||||
00080
|
||||
00081 <span class="comment">// Essai connexion serveur</span>
|
||||
00082
|
||||
00083 $this->db = $this->connect($host, $user, $pass);
|
||||
00059 <span class="comment">// Se connecte au serveur et éventuellement à une base (si spécifié)</span>
|
||||
00060 <span class="comment">// Renvoie 1 en cas de succès, 0 sinon</span>
|
||||
00061
|
||||
00062 {
|
||||
00063 global $conf;
|
||||
00064
|
||||
00065 <span class="keywordflow">if</span> ($host == '')
|
||||
00066 {
|
||||
00067 $host = $conf->db->host;
|
||||
00068 }
|
||||
00069
|
||||
00070 <span class="keywordflow">if</span> ($user == '')
|
||||
00071 {
|
||||
00072 $user = $conf->db->user;
|
||||
00073 }
|
||||
00074
|
||||
00075 <span class="keywordflow">if</span> ($pass == '')
|
||||
00076 {
|
||||
00077 $pass = $conf->db->pass;
|
||||
00078 }
|
||||
00079
|
||||
00080 <span class="keywordflow">if</span> ($name == '')
|
||||
00081 {
|
||||
00082 $name = $conf->db->name;
|
||||
00083 }
|
||||
00084
|
||||
00085 <span class="keywordflow">if</span> ($this->db)
|
||||
00086 {
|
||||
00087 $this->connected = 1;
|
||||
00088 $this->ok = 1;
|
||||
00089 }
|
||||
00090 <span class="keywordflow">else</span>
|
||||
00091 {
|
||||
00092 $this->connected = 0;
|
||||
00093 $this->ok = 0;
|
||||
00094 }
|
||||
00095
|
||||
00096 <span class="comment">// Si connexion serveur ok et si connexion base demandée, on essaie connexion base</span>
|
||||
00097
|
||||
00098 <span class="keywordflow">if</span> ($this->connected && $name)
|
||||
00099 {
|
||||
00100
|
||||
00101 <span class="keywordflow">if</span> ($this->select_db($name) == 1)
|
||||
00102 {
|
||||
00103 $this->database_selected = 1;
|
||||
00104 $this->ok = 1;
|
||||
00105 }
|
||||
00106 <span class="keywordflow">else</span>
|
||||
00107 {
|
||||
00108 $this->database_selected = 0;
|
||||
00109 $this->ok = 0;
|
||||
00110 }
|
||||
00111
|
||||
00112 }
|
||||
00113 <span class="keywordflow">else</span>
|
||||
00114 {
|
||||
00115 <span class="comment">// Pas de selection de base demandée, mais tout est ok</span>
|
||||
00116
|
||||
00117 $this->database_selected = 0;
|
||||
00118 $this->ok = 1;
|
||||
00119 }
|
||||
00120
|
||||
00121 <span class="keywordflow">return</span> $this->ok;
|
||||
00122 }
|
||||
00123
|
||||
00130 Function select_db($database)
|
||||
00131 {
|
||||
00132 <span class="keywordflow">return</span> mysql_select_db($database, $this->db);
|
||||
00133 }
|
||||
00134
|
||||
00143 Function connect($host, $login, $passwd)
|
||||
00144 {
|
||||
00145 $this->db = @mysql_connect($host, $login, $passwd);
|
||||
00146 <span class="comment">//print "Resultat fonction connect: ".$this->db;</span>
|
||||
00147 <span class="keywordflow">return</span> $this->db;
|
||||
00148 }
|
||||
00149
|
||||
00156 Function create_db($database)
|
||||
00157 {
|
||||
00158 <span class="keywordflow">if</span> (mysql_create_db ($database, $this->db))
|
||||
00159 {
|
||||
00160 <span class="keywordflow">return</span> 1;
|
||||
00161 }
|
||||
00162 <span class="keywordflow">else</span>
|
||||
00163 {
|
||||
00164 <span class="keywordflow">return</span> 0;
|
||||
00165 }
|
||||
00166 }
|
||||
00167
|
||||
00173 Function clone()
|
||||
00174 {
|
||||
00175 $db2 = <span class="keyword">new</span> DoliDb(<span class="stringliteral">""</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>);
|
||||
00176 $db2->db = $this->db;
|
||||
00177 <span class="keywordflow">return</span> $db2;
|
||||
00178 }
|
||||
00179
|
||||
00188 Function pconnect($host, $login, $passwd)
|
||||
00189 {
|
||||
00190 $this->db = mysql_pconnect($host, $login, $passwd);
|
||||
00191 <span class="keywordflow">return</span> $this->db;
|
||||
00192 }
|
||||
00193
|
||||
00199 Function close()
|
||||
00200 {
|
||||
00201 <span class="keywordflow">return</span> mysql_close($this->db);
|
||||
00202 }
|
||||
00203
|
||||
00210 Function begin($<span class="keywordflow">do</span>=1)
|
||||
00211 {
|
||||
00212 <span class="keywordflow">if</span> ($do)
|
||||
00213 {
|
||||
00214 <span class="keywordflow">return</span> $this->query(<span class="stringliteral">"BEGIN"</span>);
|
||||
00215 }
|
||||
00216 <span class="keywordflow">else</span>
|
||||
00217 {
|
||||
00218 <span class="keywordflow">return</span> 1;
|
||||
00219 }
|
||||
00220 }
|
||||
00221
|
||||
00228 Function commit($<span class="keywordflow">do</span>=1)
|
||||
00229 {
|
||||
00230 <span class="keywordflow">if</span> ($do)
|
||||
00231 {
|
||||
00232 <span class="keywordflow">return</span> $this->query(<span class="stringliteral">"COMMIT"</span>);
|
||||
00233 }
|
||||
00234 <span class="keywordflow">else</span>
|
||||
00235 {
|
||||
00236 <span class="keywordflow">return</span> 1;
|
||||
00237 }
|
||||
00238 }
|
||||
00239
|
||||
00246 Function rollback($<span class="keywordflow">do</span>=1)
|
||||
00247 {
|
||||
00248 <span class="keywordflow">if</span> ($do)
|
||||
00249 {
|
||||
00250 <span class="keywordflow">return</span> $this->query(<span class="stringliteral">"ROLLBACK"</span>);
|
||||
00251 }
|
||||
00252 <span class="keywordflow">else</span>
|
||||
00253 {
|
||||
00254 <span class="keywordflow">return</span> 1;
|
||||
00255 }
|
||||
00256 }
|
||||
00257
|
||||
00266 Function query($query, $limit=<span class="stringliteral">""</span>, $offset=<span class="stringliteral">""</span>)
|
||||
00267 {
|
||||
00268 $query = trim($query);
|
||||
00269 <span class="comment">//print "<p>$query</p>\n";</span>
|
||||
00270 $this->results = mysql_query($query, $this->db);
|
||||
00271 <span class="keywordflow">return</span> $this->results;
|
||||
00272 }
|
||||
00273
|
||||
00280 Function list_tables($database)
|
||||
00281 {
|
||||
00282 $this->results = mysql_list_tables($database, $this->db);
|
||||
00283 <span class="keywordflow">return</span> $this->results;
|
||||
00284 }
|
||||
00285
|
||||
00293 Function result($nb, $fieldname)
|
||||
00294 {
|
||||
00295 <span class="keywordflow">return</span> mysql_result($this->results, $nb, $fieldname);
|
||||
00296 }
|
||||
00297
|
||||
00303 Function free()
|
||||
00304 {
|
||||
00305 <span class="keywordflow">return</span> mysql_free_result($this->results);
|
||||
00306 }
|
||||
00307
|
||||
00313 Function fetch_object()
|
||||
00314 {
|
||||
00315 <span class="keywordflow">return</span> mysql_fetch_object($this->results);
|
||||
00316 }
|
||||
00317
|
||||
00325 Function plimit($limit=0,$offset=0)
|
||||
00326 {
|
||||
00327 <span class="keywordflow">if</span> ($offset > 0)
|
||||
00328 {
|
||||
00329 <span class="keywordflow">return</span> <span class="stringliteral">" LIMIT $offset,$limit "</span>;
|
||||
00330 }
|
||||
00331 <span class="keywordflow">else</span>
|
||||
00332 {
|
||||
00333 <span class="keywordflow">return</span> <span class="stringliteral">" LIMIT $limit "</span>;
|
||||
00334 }
|
||||
00335 }
|
||||
00336
|
||||
00337
|
||||
00338 Function pdate($fname)
|
||||
00339 {
|
||||
00340 <span class="keywordflow">return</span> <span class="stringliteral">"unix_timestamp($fname)"</span>;
|
||||
00085 <span class="comment">//print "Name DB: $host,$user,$pass,$name<br>";</span>
|
||||
00086
|
||||
00087 <span class="comment">// Essai connexion serveur</span>
|
||||
00088
|
||||
00089 $this->db = $this-><a class="code" href="classDoliDb.html#a2">connect</a>($host, $user, $pass);
|
||||
00090
|
||||
00091 <span class="keywordflow">if</span> ($this->db)
|
||||
00092 {
|
||||
00093 $this->connected = 1;
|
||||
00094 $this->ok = 1;
|
||||
00095 }
|
||||
00096 <span class="keywordflow">else</span>
|
||||
00097 {
|
||||
00098 $this->connected = 0;
|
||||
00099 $this->ok = 0;
|
||||
00100 }
|
||||
00101
|
||||
00102 <span class="comment">// Si connexion serveur ok et si connexion base demandée, on essaie connexion base</span>
|
||||
00103
|
||||
00104 <span class="keywordflow">if</span> ($this->connected && $name)
|
||||
00105 {
|
||||
00106
|
||||
00107 <span class="keywordflow">if</span> ($this-><a class="code" href="classDoliDb.html#a1">select_db</a>($name) == 1)
|
||||
00108 {
|
||||
00109 $this->database_selected = 1;
|
||||
00110 $this->ok = 1;
|
||||
00111 }
|
||||
00112 <span class="keywordflow">else</span>
|
||||
00113 {
|
||||
00114 $this->database_selected = 0;
|
||||
00115 $this->ok = 0;
|
||||
00116 }
|
||||
00117
|
||||
00118 }
|
||||
00119 <span class="keywordflow">else</span>
|
||||
00120 {
|
||||
00121 <span class="comment">// Pas de selection de base demandée, mais tout est ok</span>
|
||||
00122
|
||||
00123 $this->database_selected = 0;
|
||||
00124 $this->ok = 1;
|
||||
00125 }
|
||||
00126
|
||||
00127 <span class="keywordflow">return</span> $this->ok;
|
||||
00128 }
|
||||
00129
|
||||
<a name="l00136"></a><a class="code" href="classDoliDb.html#a1">00136</a> function <a class="code" href="classDoliDb.html#a1">select_db</a>($database)
|
||||
00137 {
|
||||
00138 <span class="keywordflow">return</span> mysql_select_db($database, $this->db);
|
||||
00139 }
|
||||
00140
|
||||
<a name="l00149"></a><a class="code" href="classDoliDb.html#a2">00149</a> function <a class="code" href="classDoliDb.html#a2">connect</a>($host, $login, $passwd)
|
||||
00150 {
|
||||
00151 $this->db = @mysql_connect($host, $login, $passwd);
|
||||
00152 <span class="comment">//print "Resultat fonction connect: ".$this->db;</span>
|
||||
00153 <span class="keywordflow">return</span> $this->db;
|
||||
00154 }
|
||||
00155
|
||||
<a name="l00162"></a><a class="code" href="classDoliDb.html#a3">00162</a> function <a class="code" href="classDoliDb.html#a3">create_db</a>($database)
|
||||
00163 {
|
||||
00164 <span class="keywordflow">if</span> (mysql_create_db ($database, $this->db))
|
||||
00165 {
|
||||
00166 <span class="keywordflow">return</span> 1;
|
||||
00167 }
|
||||
00168 <span class="keywordflow">else</span>
|
||||
00169 {
|
||||
00170 <span class="keywordflow">return</span> 0;
|
||||
00171 }
|
||||
00172 }
|
||||
00173
|
||||
<a name="l00179"></a><a class="code" href="classDoliDb.html#a4">00179</a> function <a class="code" href="classDoliDb.html#a4">clone</a>()
|
||||
00180 {
|
||||
00181 $db2 = <span class="keyword">new</span> DoliDb(<span class="stringliteral">""</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>);
|
||||
00182 $db2->db = $this->db;
|
||||
00183 <span class="keywordflow">return</span> $db2;
|
||||
00184 }
|
||||
00185
|
||||
<a name="l00194"></a><a class="code" href="classDoliDb.html#a5">00194</a> function <a class="code" href="classDoliDb.html#a5">pconnect</a>($host, $login, $passwd)
|
||||
00195 {
|
||||
00196 $this->db = mysql_pconnect($host, $login, $passwd);
|
||||
00197 <span class="keywordflow">return</span> $this->db;
|
||||
00198 }
|
||||
00199
|
||||
<a name="l00205"></a><a class="code" href="classDoliDb.html#a6">00205</a> function <a class="code" href="classDoliDb.html#a6">close</a>()
|
||||
00206 {
|
||||
00207 <span class="keywordflow">return</span> mysql_close($this->db);
|
||||
00208 }
|
||||
00209
|
||||
<a name="l00216"></a><a class="code" href="classDoliDb.html#a7">00216</a> function <a class="code" href="classDoliDb.html#a7">begin</a>($<span class="keywordflow">do</span>=1)
|
||||
00217 {
|
||||
00218 <span class="keywordflow">if</span> ($do)
|
||||
00219 {
|
||||
00220 <span class="keywordflow">return</span> $this-><a class="code" href="classDoliDb.html#a10">query</a>(<span class="stringliteral">"BEGIN"</span>);
|
||||
00221 }
|
||||
00222 <span class="keywordflow">else</span>
|
||||
00223 {
|
||||
00224 <span class="keywordflow">return</span> 1;
|
||||
00225 }
|
||||
00226 }
|
||||
00227
|
||||
<a name="l00234"></a><a class="code" href="classDoliDb.html#a8">00234</a> function <a class="code" href="classDoliDb.html#a8">commit</a>($<span class="keywordflow">do</span>=1)
|
||||
00235 {
|
||||
00236 <span class="keywordflow">if</span> ($do)
|
||||
00237 {
|
||||
00238 <span class="keywordflow">return</span> $this-><a class="code" href="classDoliDb.html#a10">query</a>(<span class="stringliteral">"COMMIT"</span>);
|
||||
00239 }
|
||||
00240 <span class="keywordflow">else</span>
|
||||
00241 {
|
||||
00242 <span class="keywordflow">return</span> 1;
|
||||
00243 }
|
||||
00244 }
|
||||
00245
|
||||
<a name="l00252"></a><a class="code" href="classDoliDb.html#a9">00252</a> function <a class="code" href="classDoliDb.html#a9">rollback</a>($<span class="keywordflow">do</span>=1)
|
||||
00253 {
|
||||
00254 <span class="keywordflow">if</span> ($do)
|
||||
00255 {
|
||||
00256 <span class="keywordflow">return</span> $this-><a class="code" href="classDoliDb.html#a10">query</a>(<span class="stringliteral">"ROLLBACK"</span>);
|
||||
00257 }
|
||||
00258 <span class="keywordflow">else</span>
|
||||
00259 {
|
||||
00260 <span class="keywordflow">return</span> 1;
|
||||
00261 }
|
||||
00262 }
|
||||
00263
|
||||
<a name="l00272"></a><a class="code" href="classDoliDb.html#a10">00272</a> function <a class="code" href="classDoliDb.html#a10">query</a>($query, $limit=<span class="stringliteral">""</span>, $offset=<span class="stringliteral">""</span>)
|
||||
00273 {
|
||||
00274 $query = trim($query);
|
||||
00275 <span class="comment">//print "<p>$query</p>\n";</span>
|
||||
00276 $this->results = mysql_query($query, $this->db);
|
||||
00277 <span class="keywordflow">return</span> $this->results;
|
||||
00278 }
|
||||
00279
|
||||
<a name="l00286"></a><a class="code" href="classDoliDb.html#a11">00286</a> function <a class="code" href="classDoliDb.html#a11">list_tables</a>($database)
|
||||
00287 {
|
||||
00288 $this->results = mysql_list_tables($database, $this->db);
|
||||
00289 <span class="keywordflow">return</span> $this->results;
|
||||
00290 }
|
||||
00291
|
||||
<a name="l00299"></a><a class="code" href="classDoliDb.html#a12">00299</a> function <a class="code" href="classDoliDb.html#a12">result</a>($nb, $fieldname)
|
||||
00300 {
|
||||
00301 <span class="keywordflow">return</span> mysql_result($this->results, $nb, $fieldname);
|
||||
00302 }
|
||||
00303
|
||||
<a name="l00309"></a><a class="code" href="classDoliDb.html#a13">00309</a> function <a class="code" href="classDoliDb.html#a13">free</a>()
|
||||
00310 {
|
||||
00311 <span class="keywordflow">return</span> mysql_free_result($this->results);
|
||||
00312 }
|
||||
00313
|
||||
<a name="l00319"></a><a class="code" href="classDoliDb.html#a14">00319</a> function <a class="code" href="classDoliDb.html#a14">fetch_object</a>()
|
||||
00320 {
|
||||
00321 <span class="keywordflow">return</span> mysql_fetch_object($this->results);
|
||||
00322 }
|
||||
00323
|
||||
<a name="l00331"></a><a class="code" href="classDoliDb.html#a15">00331</a> function <a class="code" href="classDoliDb.html#a15">plimit</a>($limit=0,$offset=0)
|
||||
00332 {
|
||||
00333 <span class="keywordflow">if</span> ($offset > 0)
|
||||
00334 {
|
||||
00335 <span class="keywordflow">return</span> <span class="stringliteral">" LIMIT $offset,$limit "</span>;
|
||||
00336 }
|
||||
00337 <span class="keywordflow">else</span>
|
||||
00338 {
|
||||
00339 <span class="keywordflow">return</span> <span class="stringliteral">" LIMIT $limit "</span>;
|
||||
00340 }
|
||||
00341 }
|
||||
00342
|
||||
00349 Function idate($fname)
|
||||
00350 {
|
||||
00351 <span class="keywordflow">return</span> strftime(<span class="stringliteral">"%Y%m%d%H%M%S"</span>,$fname);
|
||||
00352 }
|
||||
00353
|
||||
00359 Function fetch_array()
|
||||
00360 {
|
||||
00361 <span class="keywordflow">return</span> mysql_fetch_array($this->results);
|
||||
00362 }
|
||||
00363
|
||||
00369 Function fetch_row()
|
||||
00370 {
|
||||
00371 <span class="keywordflow">return</span> mysql_fetch_row($this->results);
|
||||
00372 }
|
||||
00373
|
||||
00381 Function fetch_field()
|
||||
00382 {
|
||||
00383 <span class="keywordflow">return</span> mysql_fetch_field($this->results);
|
||||
00384 }
|
||||
00385
|
||||
00386
|
||||
00392 Function num_rows()
|
||||
00393 {
|
||||
00394 <span class="keywordflow">return</span> mysql_num_rows($this->results);
|
||||
00395 }
|
||||
00396
|
||||
00402 Function num_fields()
|
||||
00403 {
|
||||
00404 <span class="keywordflow">return</span> mysql_num_fields($this->results);
|
||||
00405 }
|
||||
00406
|
||||
00412 Function error()
|
||||
00413 {
|
||||
00414 <span class="keywordflow">return</span> mysql_error($this->db);
|
||||
00415 }
|
||||
00416
|
||||
00422 Function errno()
|
||||
00423 {
|
||||
00424 <span class="comment">// $ERROR_DUPLICATE=1062;</span>
|
||||
00425 <span class="comment">// $ERROR_TABLEEXISTS=1050;</span>
|
||||
00426
|
||||
00427 <span class="keywordflow">return</span> mysql_errno($this->db);
|
||||
00428 }
|
||||
00343
|
||||
00344 function pdate($fname)
|
||||
00345 {
|
||||
00346 <span class="keywordflow">return</span> <span class="stringliteral">"unix_timestamp($fname)"</span>;
|
||||
00347 }
|
||||
00348
|
||||
<a name="l00355"></a><a class="code" href="classDoliDb.html#a17">00355</a> function <a class="code" href="classDoliDb.html#a17">idate</a>($fname)
|
||||
00356 {
|
||||
00357 <span class="keywordflow">return</span> strftime(<span class="stringliteral">"%Y%m%d%H%M%S"</span>,$fname);
|
||||
00358 }
|
||||
00359
|
||||
<a name="l00365"></a><a class="code" href="classDoliDb.html#a18">00365</a> function <a class="code" href="classDoliDb.html#a18">fetch_array</a>()
|
||||
00366 {
|
||||
00367 <span class="keywordflow">return</span> mysql_fetch_array($this->results);
|
||||
00368 }
|
||||
00369
|
||||
<a name="l00375"></a><a class="code" href="classDoliDb.html#a19">00375</a> function <a class="code" href="classDoliDb.html#a19">fetch_row</a>()
|
||||
00376 {
|
||||
00377 <span class="keywordflow">return</span> mysql_fetch_row($this->results);
|
||||
00378 }
|
||||
00379
|
||||
<a name="l00384"></a><a class="code" href="classDoliDb.html#a20">00384</a> function <a class="code" href="classDoliDb.html#a20">fetch_field</a>()
|
||||
00385 {
|
||||
00386 <span class="keywordflow">return</span> mysql_fetch_field($this->results);
|
||||
00387 }
|
||||
00388
|
||||
00389
|
||||
<a name="l00395"></a><a class="code" href="classDoliDb.html#a21">00395</a> function <a class="code" href="classDoliDb.html#a21">num_rows</a>()
|
||||
00396 {
|
||||
00397 <span class="keywordflow">return</span> mysql_num_rows($this->results);
|
||||
00398 }
|
||||
00399
|
||||
<a name="l00405"></a><a class="code" href="classDoliDb.html#a22">00405</a> function <a class="code" href="classDoliDb.html#a22">num_fields</a>()
|
||||
00406 {
|
||||
00407 <span class="keywordflow">return</span> mysql_num_fields($this->results);
|
||||
00408 }
|
||||
00409
|
||||
<a name="l00415"></a><a class="code" href="classDoliDb.html#a23">00415</a> function <a class="code" href="classDoliDb.html#a23">error</a>()
|
||||
00416 {
|
||||
00417 <span class="keywordflow">return</span> mysql_error($this->db);
|
||||
00418 }
|
||||
00419
|
||||
<a name="l00425"></a><a class="code" href="classDoliDb.html#a24">00425</a> function <a class="code" href="classDoliDb.html#a24">errno</a>()
|
||||
00426 {
|
||||
00427 <span class="comment">// $ERROR_DUPLICATE=1062;</span>
|
||||
00428 <span class="comment">// $ERROR_TABLEEXISTS=1050;</span>
|
||||
00429
|
||||
00435 Function last_insert_id()
|
||||
00436 {
|
||||
00437 <span class="keywordflow">return</span> mysql_insert_id();
|
||||
00438 }
|
||||
00439
|
||||
00445 Function affected_rows()
|
||||
00446 {
|
||||
00447 <span class="keywordflow">return</span> mysql_affected_rows();
|
||||
00448 }
|
||||
00449
|
||||
00450 }
|
||||
00451
|
||||
00452 ?>
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
00430 <span class="keywordflow">return</span> mysql_errno($this->db);
|
||||
00431 }
|
||||
00432
|
||||
<a name="l00438"></a><a class="code" href="classDoliDb.html#a25">00438</a> function <a class="code" href="classDoliDb.html#a25">last_insert_id</a>()
|
||||
00439 {
|
||||
00440 <span class="keywordflow">return</span> mysql_insert_id();
|
||||
00441 }
|
||||
00442
|
||||
<a name="l00448"></a><a class="code" href="classDoliDb.html#a26">00448</a> function <a class="code" href="classDoliDb.html#a26">affected_rows</a>()
|
||||
00449 {
|
||||
00450 <span class="keywordflow">return</span> mysql_affected_rows();
|
||||
00451 }
|
||||
00452
|
||||
00453 }
|
||||
00454
|
||||
00455 ?>
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -5,16 +5,20 @@
|
||||
</head><body>
|
||||
<!-- Généré par Doxygen 1.3.7 -->
|
||||
<div class="qindex"><a class="qindex" href="index.html">Page principale</a> | <a class="qindex" href="classes.html">Liste alphabétique</a> | <a class="qindex" href="annotated.html">Liste des classes</a> | <a class="qindex" href="files.html">Liste des fichiers</a> | <a class="qindex" href="functions.html">Membres de classe</a> | <a class="qindex" href="globals.html">Membres de fichier</a></div>
|
||||
<h1>Référence du fichier htdocs/lib/mysql.lib.php</h1>Classes permettant de gérér la database de dolibarr.
|
||||
<h1>Référence du fichier htdocs/lib/mysql.lib.php</h1>Classe permettant de gérér la database de dolibarr.
|
||||
<a href="#_details">Plus de détails...</a>
|
||||
<p>
|
||||
|
||||
<p>
|
||||
<a href="mysql_8lib_8php-source.html">Aller au code source de ce fichier.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Classes</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classDoliDb.html">DoliDb</a></td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Classe permettant de gérér la database de dolibarr. <a href="classDoliDb.html#_details">Plus de détails...</a><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Description détaillée</h2>
|
||||
Classes permettant de gérér la database de dolibarr.
|
||||
Classe permettant de gérér la database de dolibarr.
|
||||
<p>
|
||||
<dl compact><dt><b>Auteur:</b></dt><dd>Fabien Seisen <p>
|
||||
Rodolphe Quiedeville. <p>
|
||||
@ -22,7 +26,7 @@ Laurent Destailleur. </dd></dl>
|
||||
<dl compact><dt><b>Version:</b></dt><dd>1.2.</dd></dl>
|
||||
Ensemble des fonctions permettant de gérer la database de dolibarr.
|
||||
<p>
|
||||
Définition dans le fichier <a class="el" href="mysql_8lib_8php-source.html">mysql.lib.php</a>.<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
Définition dans le fichier <a class="el" href="mysql_8lib_8php-source.html">mysql.lib.php</a>.<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -69,9 +69,9 @@
|
||||
00077 $j=0;
|
||||
00078 $result[5] = array();
|
||||
00079
|
||||
00080 foreach ($tva as $key => $value)
|
||||
00080 foreach ($<a class="code" href="functions_8inc_8php.html#a40">tva</a> as $key => $value)
|
||||
00081 {
|
||||
00082 $tva[$key] = round($tva[$key], 2);
|
||||
00082 $tva[$key] = round($<a class="code" href="functions_8inc_8php.html#a40">tva</a>[$key], 2);
|
||||
00083 $total_tva = $total_tva + $tva[$key];
|
||||
00084 $result[5][$key] = $tva[$key];
|
||||
00085 $j++;
|
||||
@ -93,7 +93,7 @@
|
||||
00101
|
||||
00102 <span class="keywordflow">return</span> $result;
|
||||
00103 }
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -70,10 +70,12 @@ permet de calculer un prix.
|
||||
<dl compact><dt><b>Renvoie:</b></dt><dd>result </dd></dl>
|
||||
|
||||
<p>
|
||||
Définition à la ligne <a class="el" href="price_8lib_8php-source.html#l00038">38</a> du fichier <a class="el" href="price_8lib_8php-source.html">price.lib.php</a>. </td>
|
||||
Définition à la ligne <a class="el" href="price_8lib_8php-source.html#l00038">38</a> du fichier <a class="el" href="price_8lib_8php-source.html">price.lib.php</a>.
|
||||
<p>
|
||||
Références <a class="el" href="functions_8inc_8php-source.html#l01018">tva()</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -186,7 +186,7 @@
|
||||
00197
|
||||
00198
|
||||
00199
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -81,7 +81,7 @@ permet d'afficher un thermometre monetaire.
|
||||
Définition à la ligne <a class="el" href="thermometer_8php-source.html#l00042">42</a> du fichier <a class="el" href="thermometer_8php-source.html">thermometer.php</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -107,7 +107,7 @@
|
||||
00132 }
|
||||
00133 }
|
||||
00134 ?>
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
</div></pre><hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -24,7 +24,7 @@ Classe permettant d'acceder a la database webcalendar.
|
||||
<dl compact><dt><b>Version:</b></dt><dd>1.2.</dd></dl>
|
||||
Ensemble des fonctions permettant d'acceder a la database webcalendar.
|
||||
<p>
|
||||
Définition dans le fichier <a class="el" href="webcal_8class_8php-source.html">webcal.class.php</a>.<hr size="1"><address style="align: right;"><small>Généré le Thu Jul 15 20:50:38 2004 pour dolibarr par
|
||||
Définition dans le fichier <a class="el" href="webcal_8class_8php-source.html">webcal.class.php</a>.<hr size="1"><address style="align: right;"><small>Généré le Fri Jul 16 00:31:07 2004 pour dolibarr par
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
{\fancyplain{}{\bfseries\rightmark}}
|
||||
\rhead[\fancyplain{}{\bfseries\leftmark}]
|
||||
{\fancyplain{}{\bfseries\thepage}}
|
||||
\rfoot[\fancyplain{}{\bfseries\scriptsize G\'{e}n\'{e}r\'{e} le Thu Jul 15 20:50:39 2004 pour dolibarr par Doxygen }]{}
|
||||
\lfoot[]{\fancyplain{}{\bfseries\scriptsize G\'{e}n\'{e}r\'{e} le Thu Jul 15 20:50:39 2004 pour dolibarr par Doxygen }}
|
||||
\rfoot[\fancyplain{}{\bfseries\scriptsize G\'{e}n\'{e}r\'{e} le Fri Jul 16 00:31:08 2004 pour dolibarr par Doxygen }]{}
|
||||
\lfoot[]{\fancyplain{}{\bfseries\scriptsize G\'{e}n\'{e}r\'{e} le Fri Jul 16 00:31:08 2004 pour dolibarr par Doxygen }}
|
||||
\cfoot{}
|
||||
\newenvironment{CompactList}
|
||||
{\begin{list}{}{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
\section{dolibarr Liste des fichiers}
|
||||
Liste de tous les fichiers document\'{e}s avec une br\`{e}ve description:\begin{CompactList}
|
||||
\item\contentsline{section}{htdocs/lib/{\bf CMail\-File.class.php} }{\pageref{CMailFile_8class_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/{\bf functions.inc.php} }{\pageref{functions_8inc_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{CMailFile_8class_8php}{CMail\-File.class.php} (Classe permettant d'envoyer des attachements par mail )}{\pageref{CMailFile_8class_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{functions_8inc_8php}{functions.inc.php} (Ensemble de fonctions de base de dolibarr sous forme d'include )}{\pageref{functions_8inc_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{ldap_8lib_8php}{ldap.lib.php} (Librairie contenant les fonctions pour acc\`{e}der au serveur ldap )}{\pageref{ldap_8lib_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{mysql_8lib_8php}{mysql.lib.php} (Classes permettant de g\'{e}r\'{e}r la database de dolibarr )}{\pageref{mysql_8lib_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{mysql_8lib_8php}{mysql.lib.php} (Classe permettant de g\'{e}r\'{e}r la database de dolibarr )}{\pageref{mysql_8lib_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{price_8lib_8php}{price.lib.php} (Librairie contenant les fonctions pour calculer un prix )}{\pageref{price_8lib_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{thermometer_8php}{thermometer.php} (Classe permettant d'afficher un thermometre )}{\pageref{thermometer_8php}}{}
|
||||
\item\contentsline{section}{htdocs/lib/\hyperlink{webcal_8class_8php}{webcal.class.php} (Classe permettant d'acceder a la database webcalendar )}{\pageref{webcal_8class_8php}}{}
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2.2}R\'{e}f\'{e}rence du fichier htdocs/lib/mysql.lib.php}{6}{section.2.2}}
|
||||
\newlabel{mysql_8lib_8php}{{2.2}{6}{R\'{e}f\'{e}rence du fichier htdocs/lib/mysql.lib.php\relax }{section.2.2}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2.1}Description d\'{e}taill\'{e}e}{6}{subsection.2.2.1}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {4.4}R\'{e}f\'{e}rence du fichier htdocs/lib/mysql.lib.php}{33}{section.4.4}}
|
||||
\newlabel{mysql_8lib_8php}{{4.4}{33}{R\'{e}f\'{e}rence du fichier htdocs/lib/mysql.lib.php\relax }{section.4.4}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Description d\'{e}taill\'{e}e}{33}{subsection.4.4.1}}
|
||||
\@setckpt{mysql_8lib_8php}{
|
||||
\setcounter{page}{7}
|
||||
\setcounter{page}{34}
|
||||
\setcounter{equation}{0}
|
||||
\setcounter{enumi}{0}
|
||||
\setcounter{enumii}{0}
|
||||
@ -12,8 +12,8 @@
|
||||
\setcounter{footnote}{0}
|
||||
\setcounter{mpfootnote}{0}
|
||||
\setcounter{part}{0}
|
||||
\setcounter{chapter}{2}
|
||||
\setcounter{section}{2}
|
||||
\setcounter{chapter}{4}
|
||||
\setcounter{section}{4}
|
||||
\setcounter{subsection}{1}
|
||||
\setcounter{subsubsection}{0}
|
||||
\setcounter{paragraph}{0}
|
||||
|
||||
@ -2,13 +2,18 @@
|
||||
\section{R\'{e}f\'{e}rence du fichier htdocs/lib/mysql.lib.php}
|
||||
\label{mysql_8lib_8php}\index{htdocs/lib/mysql.lib.php@{htdocs/lib/mysql.lib.php}}
|
||||
}
|
||||
Classes permettant de g\'{e}r\'{e}r la database de dolibarr.
|
||||
Classe permettant de g\'{e}r\'{e}r la database de dolibarr.
|
||||
|
||||
|
||||
\subsection*{Classes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
class \hyperlink{classDoliDb}{Doli\-Db}
|
||||
\begin{CompactList}\small\item\em Classe permettant de g\'{e}r\'{e}r la database de dolibarr. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Description d\'{e}taill\'{e}e}
|
||||
Classes permettant de g\'{e}r\'{e}r la database de dolibarr.
|
||||
Classe permettant de g\'{e}r\'{e}r la database de dolibarr.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Auteur:]Fabien Seisen
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2.3}R\'{e}f\'{e}rence du fichier htdocs/lib/price.lib.php}{7}{section.2.3}}
|
||||
\newlabel{price_8lib_8php}{{2.3}{7}{R\'{e}f\'{e}rence du fichier htdocs/lib/price.lib.php\relax }{section.2.3}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3.1}Description d\'{e}taill\'{e}e}{7}{subsection.2.3.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3.2}Documentation des fonctions}{7}{subsection.2.3.2}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.2.1}calcul\_\discretionary {-}{}{}price}{7}{subsubsection.2.3.2.1}}
|
||||
\newlabel{price_8lib_8php_a0}{{2.3.2.1}{7}{calcul\_\-price\relax }{subsubsection.2.3.2.1}{}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {4.5}R\'{e}f\'{e}rence du fichier htdocs/lib/price.lib.php}{34}{section.4.5}}
|
||||
\newlabel{price_8lib_8php}{{4.5}{34}{R\'{e}f\'{e}rence du fichier htdocs/lib/price.lib.php\relax }{section.4.5}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.5.1}Description d\'{e}taill\'{e}e}{34}{subsection.4.5.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.5.2}Documentation des fonctions}{34}{subsection.4.5.2}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.5.2.1}calcul\_\discretionary {-}{}{}price}{34}{subsubsection.4.5.2.1}}
|
||||
\newlabel{price_8lib_8php_a0}{{4.5.2.1}{34}{calcul\_\-price\relax }{subsubsection.4.5.2.1}{}}
|
||||
\@setckpt{price_8lib_8php}{
|
||||
\setcounter{page}{8}
|
||||
\setcounter{page}{35}
|
||||
\setcounter{equation}{0}
|
||||
\setcounter{enumi}{0}
|
||||
\setcounter{enumii}{0}
|
||||
@ -15,8 +15,8 @@
|
||||
\setcounter{footnote}{0}
|
||||
\setcounter{mpfootnote}{0}
|
||||
\setcounter{part}{0}
|
||||
\setcounter{chapter}{2}
|
||||
\setcounter{section}{3}
|
||||
\setcounter{chapter}{4}
|
||||
\setcounter{section}{5}
|
||||
\setcounter{subsection}{2}
|
||||
\setcounter{subsubsection}{1}
|
||||
\setcounter{paragraph}{0}
|
||||
|
||||
@ -42,4 +42,6 @@ permet de calculer un prix.
|
||||
\item[Renvoie:]result \end{Desc}
|
||||
|
||||
|
||||
D\'{e}finition \`{a} la ligne 38 du fichier price.lib.php.
|
||||
D\'{e}finition \`{a} la ligne 38 du fichier price.lib.php.
|
||||
|
||||
R\'{e}f\'{e}rences tva().
|
||||
@ -19,29 +19,33 @@
|
||||
\@writefile{toc}{\select@language{french}}
|
||||
\@writefile{lof}{\select@language{french}}
|
||||
\@writefile{lot}{\select@language{french}}
|
||||
\@writefile{toc}{\contentsline {chapter}{\numberline {1}dolibarr Index des fichiers}{1}{chapter.1}}
|
||||
\@writefile{toc}{\contentsline {chapter}{\numberline {1}dolibarr Index des classes}{1}{chapter.1}}
|
||||
\@writefile{lof}{\addvspace {10\p@ }}
|
||||
\@writefile{lot}{\addvspace {10\p@ }}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {1.1}dolibarr Liste des fichiers}{1}{section.1.1}}
|
||||
\@writefile{toc}{\contentsline {chapter}{\numberline {2}dolibarr Documentation des fichiers}{3}{chapter.2}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {1.1}dolibarr Liste des classes}{1}{section.1.1}}
|
||||
\@writefile{toc}{\contentsline {chapter}{\numberline {2}dolibarr Index des fichiers}{3}{chapter.2}}
|
||||
\@writefile{lof}{\addvspace {10\p@ }}
|
||||
\@writefile{lot}{\addvspace {10\p@ }}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2.1}R\'{e}f\'{e}rence du fichier htdocs/lib/ldap.lib.php}{3}{section.2.1}}
|
||||
\newlabel{ldap_8lib_8php}{{2.1}{3}{R\'{e}f\'{e}rence du fichier htdocs/lib/ldap.lib.php\relax }{section.2.1}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}Description d\'{e}taill\'{e}e}{3}{subsection.2.1.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.2}Documentation des fonctions}{4}{subsection.2.1.2}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2.1}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}{4}{subsubsection.2.1.2.1}}
|
||||
\newlabel{ldap_8lib_8php_a1}{{2.1.2.1}{4}{dolibarr\_\-ldap\_\-bind\relax }{subsubsection.2.1.2.1}{}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2.2}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}{4}{subsubsection.2.1.2.2}}
|
||||
\newlabel{ldap_8lib_8php_a0}{{2.1.2.2}{4}{dolibarr\_\-ldap\_\-connect\relax }{subsubsection.2.1.2.2}{}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2.3}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}{4}{subsubsection.2.1.2.3}}
|
||||
\newlabel{ldap_8lib_8php_a3}{{2.1.2.3}{4}{dolibarr\_\-ldap\_\-getversion\relax }{subsubsection.2.1.2.3}{}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2.4}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}{4}{subsubsection.2.1.2.4}}
|
||||
\newlabel{ldap_8lib_8php_a4}{{2.1.2.4}{4}{dolibarr\_\-ldap\_\-setversion\relax }{subsubsection.2.1.2.4}{}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2.5}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}{5}{subsubsection.2.1.2.5}}
|
||||
\newlabel{ldap_8lib_8php_a5}{{2.1.2.5}{5}{dolibarr\_\-ldap\_\-unacc\relax }{subsubsection.2.1.2.5}{}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2.6}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}{5}{subsubsection.2.1.2.6}}
|
||||
\newlabel{ldap_8lib_8php_a2}{{2.1.2.6}{5}{dolibarr\_\-ldap\_\-unbind\relax }{subsubsection.2.1.2.6}{}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2.1}dolibarr Liste des fichiers}{3}{section.2.1}}
|
||||
\@writefile{toc}{\contentsline {chapter}{\numberline {3}dolibarr Documentation des classes}{5}{chapter.3}}
|
||||
\@writefile{lof}{\addvspace {10\p@ }}
|
||||
\@writefile{lot}{\addvspace {10\p@ }}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {3.1}R\'{e}f\'{e}rence de la classe CMail\discretionary {-}{}{}File}{5}{section.3.1}}
|
||||
\newlabel{classCMailFile}{{3.1}{5}{R\'{e}f\'{e}rence de la classe CMail\-File\relax }{section.3.1}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}Description d\'{e}taill\'{e}e}{5}{subsection.3.1.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}Documentation des contructeurs et destructeur}{6}{subsection.3.1.2}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.2.1}CMailFile}{6}{subsubsection.3.1.2.1}}
|
||||
\newlabel{classCMailFile_a0}{{3.1.2.1}{6}{CMailFile\relax }{subsubsection.3.1.2.1}{}}
|
||||
\@input{classDoliDb.aux}
|
||||
\@input{classWebcal.aux}
|
||||
\@writefile{toc}{\contentsline {chapter}{\numberline {4}dolibarr Documentation des fichiers}{19}{chapter.4}}
|
||||
\@writefile{lof}{\addvspace {10\p@ }}
|
||||
\@writefile{lot}{\addvspace {10\p@ }}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {4.1}R\'{e}f\'{e}rence du fichier htdocs/lib/CMail\discretionary {-}{}{}File.class.php}{19}{section.4.1}}
|
||||
\newlabel{CMailFile_8class_8php}{{4.1}{19}{R\'{e}f\'{e}rence du fichier htdocs/lib/CMail\-File.class.php\relax }{section.4.1}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.1}Description d\'{e}taill\'{e}e}{19}{subsection.4.1.1}}
|
||||
\@input{functions_8inc_8php.aux}
|
||||
\@input{ldap_8lib_8php.aux}
|
||||
\@input{mysql_8lib_8php.aux}
|
||||
\@input{price_8lib_8php.aux}
|
||||
\@input{thermometer_8php.aux}
|
||||
|
||||
@ -1,21 +1,140 @@
|
||||
\indexentry{htdocs/lib/ldap.lib.php@{htdocs/lib/ldap.lib.php}|hyperpage}{3}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_bind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}|hyperpage}{4}
|
||||
\indexentry{dolibarr_ldap_bind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}!ldap.lib.php@{ldap.lib.php}|hyperpage}{4}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_connect@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}|hyperpage}{4}
|
||||
\indexentry{dolibarr_ldap_connect@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}!ldap.lib.php@{ldap.lib.php}|hyperpage}{4}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_getversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}|hyperpage}{4}
|
||||
\indexentry{dolibarr_ldap_getversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}!ldap.lib.php@{ldap.lib.php}|hyperpage}{4}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_setversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}|hyperpage}{4}
|
||||
\indexentry{dolibarr_ldap_setversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}!ldap.lib.php@{ldap.lib.php}|hyperpage}{4}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_unacc@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}|hyperpage}{5}
|
||||
\indexentry{dolibarr_ldap_unacc@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}!ldap.lib.php@{ldap.lib.php}|hyperpage}{5}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_unbind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}|hyperpage}{5}
|
||||
\indexentry{dolibarr_ldap_unbind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}!ldap.lib.php@{ldap.lib.php}|hyperpage}{5}
|
||||
\indexentry{htdocs/lib/mysql.lib.php@{htdocs/lib/mysql.lib.php}|hyperpage}{6}
|
||||
\indexentry{htdocs/lib/price.lib.php@{htdocs/lib/price.lib.php}|hyperpage}{7}
|
||||
\indexentry{price.lib.php@{price.lib.php}!calcul_price@{calcul\_\discretionary {-}{}{}price}|hyperpage}{7}
|
||||
\indexentry{calcul_price@{calcul\_\discretionary {-}{}{}price}!price.lib.php@{price.lib.php}|hyperpage}{7}
|
||||
\indexentry{htdocs/lib/thermometer.php@{htdocs/lib/thermometer.php}|hyperpage}{8}
|
||||
\indexentry{thermometer.php@{thermometer.php}!moneyMeter@{moneyMeter}|hyperpage}{8}
|
||||
\indexentry{moneyMeter@{moneyMeter}!thermometer.php@{thermometer.php}|hyperpage}{8}
|
||||
\indexentry{htdocs/lib/webcal.class.php@{htdocs/lib/webcal.class.php}|hyperpage}{9}
|
||||
\indexentry{CMailFile@{CMailFile}|hyperpage}{5}
|
||||
\indexentry{CMailFile@{CMail\discretionary {-}{}{}File}!CMailFile@{CMailFile}|hyperpage}{6}
|
||||
\indexentry{CMailFile@{CMailFile}!CMailFile@{CMail\discretionary {-}{}{}File}|hyperpage}{6}
|
||||
\indexentry{DoliDb@{DoliDb}|hyperpage}{7}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!DoliDb@{DoliDb}|hyperpage}{8}
|
||||
\indexentry{DoliDb@{DoliDb}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{8}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!affected_rows@{affected\_\discretionary {-}{}{}rows}|hyperpage}{9}
|
||||
\indexentry{affected_rows@{affected\_\discretionary {-}{}{}rows}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{9}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!begin@{begin}|hyperpage}{9}
|
||||
\indexentry{begin@{begin}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{9}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!clone@{clone}|hyperpage}{9}
|
||||
\indexentry{clone@{clone}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{9}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!close@{close}|hyperpage}{9}
|
||||
\indexentry{close@{close}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{9}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!commit@{commit}|hyperpage}{9}
|
||||
\indexentry{commit@{commit}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{9}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!connect@{connect}|hyperpage}{10}
|
||||
\indexentry{connect@{connect}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{10}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!create_db@{create\_\discretionary {-}{}{}db}|hyperpage}{10}
|
||||
\indexentry{create_db@{create\_\discretionary {-}{}{}db}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{10}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!errno@{errno}|hyperpage}{10}
|
||||
\indexentry{errno@{errno}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{10}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!error@{error}|hyperpage}{11}
|
||||
\indexentry{error@{error}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{11}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!fetch_array@{fetch\_\discretionary {-}{}{}array}|hyperpage}{11}
|
||||
\indexentry{fetch_array@{fetch\_\discretionary {-}{}{}array}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{11}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!fetch_object@{fetch\_\discretionary {-}{}{}object}|hyperpage}{11}
|
||||
\indexentry{fetch_object@{fetch\_\discretionary {-}{}{}object}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{11}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!fetch_row@{fetch\_\discretionary {-}{}{}row}|hyperpage}{11}
|
||||
\indexentry{fetch_row@{fetch\_\discretionary {-}{}{}row}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{11}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!free@{free}|hyperpage}{11}
|
||||
\indexentry{free@{free}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{11}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!idate@{idate}|hyperpage}{12}
|
||||
\indexentry{idate@{idate}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{12}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!last_insert_id@{last\_\discretionary {-}{}{}insert\_\discretionary {-}{}{}id}|hyperpage}{12}
|
||||
\indexentry{last_insert_id@{last\_\discretionary {-}{}{}insert\_\discretionary {-}{}{}id}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{12}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!list_tables@{list\_\discretionary {-}{}{}tables}|hyperpage}{12}
|
||||
\indexentry{list_tables@{list\_\discretionary {-}{}{}tables}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{12}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!num_fields@{num\_\discretionary {-}{}{}fields}|hyperpage}{12}
|
||||
\indexentry{num_fields@{num\_\discretionary {-}{}{}fields}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{12}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!num_rows@{num\_\discretionary {-}{}{}rows}|hyperpage}{13}
|
||||
\indexentry{num_rows@{num\_\discretionary {-}{}{}rows}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{13}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!pconnect@{pconnect}|hyperpage}{13}
|
||||
\indexentry{pconnect@{pconnect}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{13}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!plimit@{plimit}|hyperpage}{13}
|
||||
\indexentry{plimit@{plimit}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{13}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!query@{query}|hyperpage}{13}
|
||||
\indexentry{query@{query}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{13}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!result@{result}|hyperpage}{14}
|
||||
\indexentry{result@{result}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{14}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!rollback@{rollback}|hyperpage}{14}
|
||||
\indexentry{rollback@{rollback}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{14}
|
||||
\indexentry{DoliDb@{Doli\discretionary {-}{}{}Db}!select_db@{select\_\discretionary {-}{}{}db}|hyperpage}{14}
|
||||
\indexentry{select_db@{select\_\discretionary {-}{}{}db}!DoliDb@{Doli\discretionary {-}{}{}Db}|hyperpage}{14}
|
||||
\indexentry{Webcal@{Webcal}|hyperpage}{16}
|
||||
\indexentry{Webcal@{Webcal}!add@{add}|hyperpage}{16}
|
||||
\indexentry{add@{add}!Webcal@{Webcal}|hyperpage}{16}
|
||||
\indexentry{Webcal@{Webcal}!get_next_id@{get\_\discretionary {-}{}{}next\_\discretionary {-}{}{}id}|hyperpage}{16}
|
||||
\indexentry{get_next_id@{get\_\discretionary {-}{}{}next\_\discretionary {-}{}{}id}!Webcal@{Webcal}|hyperpage}{16}
|
||||
\indexentry{htdocs/lib/CMailFile.class.php@{htdocs/lib/CMailFile.class.php}|hyperpage}{19}
|
||||
\indexentry{htdocs/lib/functions.inc.php@{htdocs/lib/functions.inc.php}|hyperpage}{20}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!creer_pass_aleatoire@{creer\_\discretionary {-}{}{}pass\_\discretionary {-}{}{}aleatoire}|hyperpage}{22}
|
||||
\indexentry{creer_pass_aleatoire@{creer\_\discretionary {-}{}{}pass\_\discretionary {-}{}{}aleatoire}!functions.inc.php@{functions.inc.php}|hyperpage}{22}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dol_delete_file@{dol\_\discretionary {-}{}{}delete\_\discretionary {-}{}{}file}|hyperpage}{22}
|
||||
\indexentry{dol_delete_file@{dol\_\discretionary {-}{}{}delete\_\discretionary {-}{}{}file}!functions.inc.php@{functions.inc.php}|hyperpage}{22}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_del_const@{dolibarr\_\discretionary {-}{}{}del\_\discretionary {-}{}{}const}|hyperpage}{22}
|
||||
\indexentry{dolibarr_del_const@{dolibarr\_\discretionary {-}{}{}del\_\discretionary {-}{}{}const}!functions.inc.php@{functions.inc.php}|hyperpage}{22}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_fiche_head@{dolibarr\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}head}|hyperpage}{22}
|
||||
\indexentry{dolibarr_fiche_head@{dolibarr\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}head}!functions.inc.php@{functions.inc.php}|hyperpage}{22}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_print_ca@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}ca}|hyperpage}{23}
|
||||
\indexentry{dolibarr_print_ca@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}ca}!functions.inc.php@{functions.inc.php}|hyperpage}{23}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_print_date@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}date}|hyperpage}{23}
|
||||
\indexentry{dolibarr_print_date@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}date}!functions.inc.php@{functions.inc.php}|hyperpage}{23}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_print_object_info@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}object\_\discretionary {-}{}{}info}|hyperpage}{23}
|
||||
\indexentry{dolibarr_print_object_info@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}object\_\discretionary {-}{}{}info}!functions.inc.php@{functions.inc.php}|hyperpage}{23}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_print_phone@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}phone}|hyperpage}{23}
|
||||
\indexentry{dolibarr_print_phone@{dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}phone}!functions.inc.php@{functions.inc.php}|hyperpage}{23}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_set_const@{dolibarr\_\discretionary {-}{}{}set\_\discretionary {-}{}{}const}|hyperpage}{24}
|
||||
\indexentry{dolibarr_set_const@{dolibarr\_\discretionary {-}{}{}set\_\discretionary {-}{}{}const}!functions.inc.php@{functions.inc.php}|hyperpage}{24}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!dolibarr_syslog@{dolibarr\_\discretionary {-}{}{}syslog}|hyperpage}{24}
|
||||
\indexentry{dolibarr_syslog@{dolibarr\_\discretionary {-}{}{}syslog}!functions.inc.php@{functions.inc.php}|hyperpage}{24}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!doliMoveFileUpload@{doliMoveFileUpload}|hyperpage}{24}
|
||||
\indexentry{doliMoveFileUpload@{doliMoveFileUpload}!functions.inc.php@{functions.inc.php}|hyperpage}{24}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!francs@{francs}|hyperpage}{24}
|
||||
\indexentry{francs@{francs}!functions.inc.php@{functions.inc.php}|hyperpage}{24}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!inctva@{inctva}|hyperpage}{25}
|
||||
\indexentry{inctva@{inctva}!functions.inc.php@{functions.inc.php}|hyperpage}{25}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!initialiser_sel@{initialiser\_\discretionary {-}{}{}sel}|hyperpage}{25}
|
||||
\indexentry{initialiser_sel@{initialiser\_\discretionary {-}{}{}sel}!functions.inc.php@{functions.inc.php}|hyperpage}{25}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!logfile@{logfile}|hyperpage}{25}
|
||||
\indexentry{logfile@{logfile}!functions.inc.php@{functions.inc.php}|hyperpage}{25}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!loginfunction@{loginfunction}|hyperpage}{25}
|
||||
\indexentry{loginfunction@{loginfunction}!functions.inc.php@{functions.inc.php}|hyperpage}{25}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!price@{price}|hyperpage}{26}
|
||||
\indexentry{price@{price}!functions.inc.php@{functions.inc.php}|hyperpage}{26}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_date_select@{print\_\discretionary {-}{}{}date\_\discretionary {-}{}{}select}|hyperpage}{26}
|
||||
\indexentry{print_date_select@{print\_\discretionary {-}{}{}date\_\discretionary {-}{}{}select}!functions.inc.php@{functions.inc.php}|hyperpage}{26}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_duree_select@{print\_\discretionary {-}{}{}duree\_\discretionary {-}{}{}select}|hyperpage}{26}
|
||||
\indexentry{print_duree_select@{print\_\discretionary {-}{}{}duree\_\discretionary {-}{}{}select}!functions.inc.php@{functions.inc.php}|hyperpage}{26}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_fiche_titre@{print\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}titre}|hyperpage}{26}
|
||||
\indexentry{print_fiche_titre@{print\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}titre}!functions.inc.php@{functions.inc.php}|hyperpage}{26}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_fleche_navigation@{print\_\discretionary {-}{}{}fleche\_\discretionary {-}{}{}navigation}|hyperpage}{27}
|
||||
\indexentry{print_fleche_navigation@{print\_\discretionary {-}{}{}fleche\_\discretionary {-}{}{}navigation}!functions.inc.php@{functions.inc.php}|hyperpage}{27}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_heure_select@{print\_\discretionary {-}{}{}heure\_\discretionary {-}{}{}select}|hyperpage}{27}
|
||||
\indexentry{print_heure_select@{print\_\discretionary {-}{}{}heure\_\discretionary {-}{}{}select}!functions.inc.php@{functions.inc.php}|hyperpage}{27}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_liste_field_titre@{print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre}|hyperpage}{27}
|
||||
\indexentry{print_liste_field_titre@{print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre}!functions.inc.php@{functions.inc.php}|hyperpage}{27}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_liste_field_titre_new@{print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre\_\discretionary {-}{}{}new}|hyperpage}{28}
|
||||
\indexentry{print_liste_field_titre_new@{print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre\_\discretionary {-}{}{}new}!functions.inc.php@{functions.inc.php}|hyperpage}{28}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_oui_non@{print\_\discretionary {-}{}{}oui\_\discretionary {-}{}{}non}|hyperpage}{28}
|
||||
\indexentry{print_oui_non@{print\_\discretionary {-}{}{}oui\_\discretionary {-}{}{}non}!functions.inc.php@{functions.inc.php}|hyperpage}{28}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!print_titre@{print\_\discretionary {-}{}{}titre}|hyperpage}{28}
|
||||
\indexentry{print_titre@{print\_\discretionary {-}{}{}titre}!functions.inc.php@{functions.inc.php}|hyperpage}{28}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!stat_print@{stat\_\discretionary {-}{}{}print}|hyperpage}{28}
|
||||
\indexentry{stat_print@{stat\_\discretionary {-}{}{}print}!functions.inc.php@{functions.inc.php}|hyperpage}{28}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!transcoS2L@{transcoS2L}|hyperpage}{29}
|
||||
\indexentry{transcoS2L@{transcoS2L}!functions.inc.php@{functions.inc.php}|hyperpage}{29}
|
||||
\indexentry{functions.inc.php@{functions.inc.php}!tva@{tva}|hyperpage}{29}
|
||||
\indexentry{tva@{tva}!functions.inc.php@{functions.inc.php}|hyperpage}{29}
|
||||
\indexentry{htdocs/lib/ldap.lib.php@{htdocs/lib/ldap.lib.php}|hyperpage}{30}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_bind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}|hyperpage}{30}
|
||||
\indexentry{dolibarr_ldap_bind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}!ldap.lib.php@{ldap.lib.php}|hyperpage}{30}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_connect@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}|hyperpage}{30}
|
||||
\indexentry{dolibarr_ldap_connect@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}!ldap.lib.php@{ldap.lib.php}|hyperpage}{30}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_getversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}|hyperpage}{31}
|
||||
\indexentry{dolibarr_ldap_getversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}!ldap.lib.php@{ldap.lib.php}|hyperpage}{31}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_setversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}|hyperpage}{31}
|
||||
\indexentry{dolibarr_ldap_setversion@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}!ldap.lib.php@{ldap.lib.php}|hyperpage}{31}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_unacc@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}|hyperpage}{31}
|
||||
\indexentry{dolibarr_ldap_unacc@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}!ldap.lib.php@{ldap.lib.php}|hyperpage}{31}
|
||||
\indexentry{ldap.lib.php@{ldap.lib.php}!dolibarr_ldap_unbind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}|hyperpage}{31}
|
||||
\indexentry{dolibarr_ldap_unbind@{dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}!ldap.lib.php@{ldap.lib.php}|hyperpage}{31}
|
||||
\indexentry{htdocs/lib/mysql.lib.php@{htdocs/lib/mysql.lib.php}|hyperpage}{33}
|
||||
\indexentry{htdocs/lib/price.lib.php@{htdocs/lib/price.lib.php}|hyperpage}{34}
|
||||
\indexentry{price.lib.php@{price.lib.php}!calcul_price@{calcul\_\discretionary {-}{}{}price}|hyperpage}{34}
|
||||
\indexentry{calcul_price@{calcul\_\discretionary {-}{}{}price}!price.lib.php@{price.lib.php}|hyperpage}{34}
|
||||
\indexentry{htdocs/lib/thermometer.php@{htdocs/lib/thermometer.php}|hyperpage}{35}
|
||||
\indexentry{thermometer.php@{thermometer.php}!moneyMeter@{moneyMeter}|hyperpage}{35}
|
||||
\indexentry{moneyMeter@{moneyMeter}!thermometer.php@{thermometer.php}|hyperpage}{35}
|
||||
\indexentry{htdocs/lib/webcal.class.php@{htdocs/lib/webcal.class.php}|hyperpage}{36}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
This is makeindex, version 2.13 [07-Mar-1997] (using kpathsea).
|
||||
Scanning input file refman.idx....done (21 entries accepted, 0 rejected).
|
||||
Sorting entries....done (105 comparisons).
|
||||
Generating output file refman.ind....done (60 lines written, 0 warnings).
|
||||
Scanning input file refman.idx....done (140 entries accepted, 0 rejected).
|
||||
Sorting entries....done (1078 comparisons).
|
||||
Generating output file refman.ind....done (289 lines written, 0 warnings).
|
||||
Output written in refman.ind.
|
||||
Transcript written in refman.ilg.
|
||||
|
||||
@ -1,60 +1,289 @@
|
||||
\begin{theindex}
|
||||
|
||||
\item {add}
|
||||
\subitem {Webcal}, \hyperpage{16}
|
||||
\item {affected\_\discretionary {-}{}{}rows}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{9}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {begin}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{9}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {calcul\_\discretionary {-}{}{}price}
|
||||
\subitem {price.lib.php}, \hyperpage{7}
|
||||
\subitem {price.lib.php}, \hyperpage{34}
|
||||
\item {clone}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{9}
|
||||
\item {close}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{9}
|
||||
\item {CMailFile}, \hyperpage{5}
|
||||
\subitem {CMail\discretionary {-}{}{}File}, \hyperpage{6}
|
||||
\item {CMail\discretionary {-}{}{}File}
|
||||
\subitem {CMailFile}, \hyperpage{6}
|
||||
\item {commit}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{9}
|
||||
\item {connect}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{10}
|
||||
\item {create\_\discretionary {-}{}{}db}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{10}
|
||||
\item {creer\_\discretionary {-}{}{}pass\_\discretionary {-}{}{}aleatoire}
|
||||
\subitem {functions.inc.php}, \hyperpage{22}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {dol\_\discretionary {-}{}{}delete\_\discretionary {-}{}{}file}
|
||||
\subitem {functions.inc.php}, \hyperpage{22}
|
||||
\item {dolibarr\_\discretionary {-}{}{}del\_\discretionary {-}{}{}const}
|
||||
\subitem {functions.inc.php}, \hyperpage{22}
|
||||
\item {dolibarr\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}head}
|
||||
\subitem {functions.inc.php}, \hyperpage{22}
|
||||
\item {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}
|
||||
\subitem {ldap.lib.php}, \hyperpage{4}
|
||||
\subitem {ldap.lib.php}, \hyperpage{30}
|
||||
\item {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}
|
||||
\subitem {ldap.lib.php}, \hyperpage{4}
|
||||
\subitem {ldap.lib.php}, \hyperpage{30}
|
||||
\item {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}
|
||||
\subitem {ldap.lib.php}, \hyperpage{4}
|
||||
\subitem {ldap.lib.php}, \hyperpage{31}
|
||||
\item {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}
|
||||
\subitem {ldap.lib.php}, \hyperpage{4}
|
||||
\subitem {ldap.lib.php}, \hyperpage{31}
|
||||
\item {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}
|
||||
\subitem {ldap.lib.php}, \hyperpage{5}
|
||||
\subitem {ldap.lib.php}, \hyperpage{31}
|
||||
\item {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}
|
||||
\subitem {ldap.lib.php}, \hyperpage{5}
|
||||
\subitem {ldap.lib.php}, \hyperpage{31}
|
||||
\item {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}ca}
|
||||
\subitem {functions.inc.php}, \hyperpage{23}
|
||||
\item {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}date}
|
||||
\subitem {functions.inc.php}, \hyperpage{23}
|
||||
\item {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}object\_\discretionary {-}{}{}info}
|
||||
\subitem {functions.inc.php}, \hyperpage{23}
|
||||
\item {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}phone}
|
||||
\subitem {functions.inc.php}, \hyperpage{23}
|
||||
\item {dolibarr\_\discretionary {-}{}{}set\_\discretionary {-}{}{}const}
|
||||
\subitem {functions.inc.php}, \hyperpage{24}
|
||||
\item {dolibarr\_\discretionary {-}{}{}syslog}
|
||||
\subitem {functions.inc.php}, \hyperpage{24}
|
||||
\item {DoliDb}, \hyperpage{7}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{8}
|
||||
\item {Doli\discretionary {-}{}{}Db}
|
||||
\subitem {affected\_\discretionary {-}{}{}rows}, \hyperpage{9}
|
||||
\subitem {begin}, \hyperpage{9}
|
||||
\subitem {clone}, \hyperpage{9}
|
||||
\subitem {close}, \hyperpage{9}
|
||||
\subitem {commit}, \hyperpage{9}
|
||||
\subitem {connect}, \hyperpage{10}
|
||||
\subitem {create\_\discretionary {-}{}{}db}, \hyperpage{10}
|
||||
\subitem {DoliDb}, \hyperpage{8}
|
||||
\subitem {errno}, \hyperpage{10}
|
||||
\subitem {error}, \hyperpage{11}
|
||||
\subitem {fetch\_\discretionary {-}{}{}array}, \hyperpage{11}
|
||||
\subitem {fetch\_\discretionary {-}{}{}object}, \hyperpage{11}
|
||||
\subitem {fetch\_\discretionary {-}{}{}row}, \hyperpage{11}
|
||||
\subitem {free}, \hyperpage{11}
|
||||
\subitem {idate}, \hyperpage{12}
|
||||
\subitem {last\_\discretionary {-}{}{}insert\_\discretionary {-}{}{}id},
|
||||
\hyperpage{12}
|
||||
\subitem {list\_\discretionary {-}{}{}tables}, \hyperpage{12}
|
||||
\subitem {num\_\discretionary {-}{}{}fields}, \hyperpage{12}
|
||||
\subitem {num\_\discretionary {-}{}{}rows}, \hyperpage{13}
|
||||
\subitem {pconnect}, \hyperpage{13}
|
||||
\subitem {plimit}, \hyperpage{13}
|
||||
\subitem {query}, \hyperpage{13}
|
||||
\subitem {result}, \hyperpage{14}
|
||||
\subitem {rollback}, \hyperpage{14}
|
||||
\subitem {select\_\discretionary {-}{}{}db}, \hyperpage{14}
|
||||
\item {doliMoveFileUpload}
|
||||
\subitem {functions.inc.php}, \hyperpage{24}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {htdocs/lib/ldap.lib.php}, \hyperpage{3}
|
||||
\item {htdocs/lib/mysql.lib.php}, \hyperpage{6}
|
||||
\item {htdocs/lib/price.lib.php}, \hyperpage{7}
|
||||
\item {htdocs/lib/thermometer.php}, \hyperpage{8}
|
||||
\item {htdocs/lib/webcal.class.php}, \hyperpage{9}
|
||||
\item {errno}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{10}
|
||||
\item {error}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{11}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {fetch\_\discretionary {-}{}{}array}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{11}
|
||||
\item {fetch\_\discretionary {-}{}{}object}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{11}
|
||||
\item {fetch\_\discretionary {-}{}{}row}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{11}
|
||||
\item {francs}
|
||||
\subitem {functions.inc.php}, \hyperpage{24}
|
||||
\item {free}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{11}
|
||||
\item {functions.inc.php}
|
||||
\subitem {creer\_\discretionary {-}{}{}pass\_\discretionary {-}{}{}aleatoire},
|
||||
\hyperpage{22}
|
||||
\subitem {dol\_\discretionary {-}{}{}delete\_\discretionary {-}{}{}file},
|
||||
\hyperpage{22}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}del\_\discretionary {-}{}{}const},
|
||||
\hyperpage{22}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}head},
|
||||
\hyperpage{22}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}ca},
|
||||
\hyperpage{23}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}date},
|
||||
\hyperpage{23}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}object\_\discretionary {-}{}{}info},
|
||||
\hyperpage{23}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}phone},
|
||||
\hyperpage{23}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}set\_\discretionary {-}{}{}const},
|
||||
\hyperpage{24}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}syslog}, \hyperpage{24}
|
||||
\subitem {doliMoveFileUpload}, \hyperpage{24}
|
||||
\subitem {francs}, \hyperpage{24}
|
||||
\subitem {inctva}, \hyperpage{25}
|
||||
\subitem {initialiser\_\discretionary {-}{}{}sel}, \hyperpage{25}
|
||||
\subitem {logfile}, \hyperpage{25}
|
||||
\subitem {loginfunction}, \hyperpage{25}
|
||||
\subitem {price}, \hyperpage{26}
|
||||
\subitem {print\_\discretionary {-}{}{}date\_\discretionary {-}{}{}select},
|
||||
\hyperpage{26}
|
||||
\subitem {print\_\discretionary {-}{}{}duree\_\discretionary {-}{}{}select},
|
||||
\hyperpage{26}
|
||||
\subitem {print\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}titre},
|
||||
\hyperpage{26}
|
||||
\subitem {print\_\discretionary {-}{}{}fleche\_\discretionary {-}{}{}navigation},
|
||||
\hyperpage{27}
|
||||
\subitem {print\_\discretionary {-}{}{}heure\_\discretionary {-}{}{}select},
|
||||
\hyperpage{27}
|
||||
\subitem {print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre},
|
||||
\hyperpage{27}
|
||||
\subitem {print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre\_\discretionary {-}{}{}new},
|
||||
\hyperpage{28}
|
||||
\subitem {print\_\discretionary {-}{}{}oui\_\discretionary {-}{}{}non},
|
||||
\hyperpage{28}
|
||||
\subitem {print\_\discretionary {-}{}{}titre}, \hyperpage{28}
|
||||
\subitem {stat\_\discretionary {-}{}{}print}, \hyperpage{28}
|
||||
\subitem {transcoS2L}, \hyperpage{29}
|
||||
\subitem {tva}, \hyperpage{29}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {get\_\discretionary {-}{}{}next\_\discretionary {-}{}{}id}
|
||||
\subitem {Webcal}, \hyperpage{16}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {htdocs/lib/CMailFile.class.php}, \hyperpage{19}
|
||||
\item {htdocs/lib/functions.inc.php}, \hyperpage{20}
|
||||
\item {htdocs/lib/ldap.lib.php}, \hyperpage{30}
|
||||
\item {htdocs/lib/mysql.lib.php}, \hyperpage{33}
|
||||
\item {htdocs/lib/price.lib.php}, \hyperpage{34}
|
||||
\item {htdocs/lib/thermometer.php}, \hyperpage{35}
|
||||
\item {htdocs/lib/webcal.class.php}, \hyperpage{36}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {idate}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{12}
|
||||
\item {inctva}
|
||||
\subitem {functions.inc.php}, \hyperpage{25}
|
||||
\item {initialiser\_\discretionary {-}{}{}sel}
|
||||
\subitem {functions.inc.php}, \hyperpage{25}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {last\_\discretionary {-}{}{}insert\_\discretionary {-}{}{}id}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{12}
|
||||
\item {ldap.lib.php}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind},
|
||||
\hyperpage{4}
|
||||
\hyperpage{30}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect},
|
||||
\hyperpage{4}
|
||||
\hyperpage{30}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion},
|
||||
\hyperpage{4}
|
||||
\hyperpage{31}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion},
|
||||
\hyperpage{4}
|
||||
\hyperpage{31}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc},
|
||||
\hyperpage{5}
|
||||
\hyperpage{31}
|
||||
\subitem {dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind},
|
||||
\hyperpage{5}
|
||||
\hyperpage{31}
|
||||
\item {list\_\discretionary {-}{}{}tables}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{12}
|
||||
\item {logfile}
|
||||
\subitem {functions.inc.php}, \hyperpage{25}
|
||||
\item {loginfunction}
|
||||
\subitem {functions.inc.php}, \hyperpage{25}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {moneyMeter}
|
||||
\subitem {thermometer.php}, \hyperpage{8}
|
||||
\subitem {thermometer.php}, \hyperpage{35}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {num\_\discretionary {-}{}{}fields}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{12}
|
||||
\item {num\_\discretionary {-}{}{}rows}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{13}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {pconnect}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{13}
|
||||
\item {plimit}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{13}
|
||||
\item {price}
|
||||
\subitem {functions.inc.php}, \hyperpage{26}
|
||||
\item {price.lib.php}
|
||||
\subitem {calcul\_\discretionary {-}{}{}price}, \hyperpage{7}
|
||||
\subitem {calcul\_\discretionary {-}{}{}price}, \hyperpage{34}
|
||||
\item {print\_\discretionary {-}{}{}date\_\discretionary {-}{}{}select}
|
||||
\subitem {functions.inc.php}, \hyperpage{26}
|
||||
\item {print\_\discretionary {-}{}{}duree\_\discretionary {-}{}{}select}
|
||||
\subitem {functions.inc.php}, \hyperpage{26}
|
||||
\item {print\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}titre}
|
||||
\subitem {functions.inc.php}, \hyperpage{26}
|
||||
\item {print\_\discretionary {-}{}{}fleche\_\discretionary {-}{}{}navigation}
|
||||
\subitem {functions.inc.php}, \hyperpage{27}
|
||||
\item {print\_\discretionary {-}{}{}heure\_\discretionary {-}{}{}select}
|
||||
\subitem {functions.inc.php}, \hyperpage{27}
|
||||
\item {print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre}
|
||||
\subitem {functions.inc.php}, \hyperpage{27}
|
||||
\item {print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre\_\discretionary {-}{}{}new}
|
||||
\subitem {functions.inc.php}, \hyperpage{28}
|
||||
\item {print\_\discretionary {-}{}{}oui\_\discretionary {-}{}{}non}
|
||||
\subitem {functions.inc.php}, \hyperpage{28}
|
||||
\item {print\_\discretionary {-}{}{}titre}
|
||||
\subitem {functions.inc.php}, \hyperpage{28}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {query}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{13}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {result}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{14}
|
||||
\item {rollback}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{14}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {select\_\discretionary {-}{}{}db}
|
||||
\subitem {Doli\discretionary {-}{}{}Db}, \hyperpage{14}
|
||||
\item {stat\_\discretionary {-}{}{}print}
|
||||
\subitem {functions.inc.php}, \hyperpage{28}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {thermometer.php}
|
||||
\subitem {moneyMeter}, \hyperpage{8}
|
||||
\subitem {moneyMeter}, \hyperpage{35}
|
||||
\item {transcoS2L}
|
||||
\subitem {functions.inc.php}, \hyperpage{29}
|
||||
\item {tva}
|
||||
\subitem {functions.inc.php}, \hyperpage{29}
|
||||
|
||||
\indexspace
|
||||
|
||||
\item {Webcal}, \hyperpage{16}
|
||||
\subitem {add}, \hyperpage{16}
|
||||
\subitem {get\_\discretionary {-}{}{}next\_\discretionary {-}{}{}id},
|
||||
\hyperpage{16}
|
||||
|
||||
\end{theindex}
|
||||
|
||||
@ -1,8 +1,16 @@
|
||||
\BOOKMARK [0][-]{chapter.1}{dolibarr Index des fichiers}{}
|
||||
\BOOKMARK [1][-]{section.1.1}{dolibarr Liste des fichiers}{chapter.1}
|
||||
\BOOKMARK [0][-]{chapter.2}{dolibarr Documentation des fichiers}{}
|
||||
\BOOKMARK [1][-]{section.2.1}{R\351f\351rence du fichier htdocs/lib/ldap.lib.php}{chapter.2}
|
||||
\BOOKMARK [1][-]{section.2.2}{R\351f\351rence du fichier htdocs/lib/mysql.lib.php}{chapter.2}
|
||||
\BOOKMARK [1][-]{section.2.3}{R\351f\351rence du fichier htdocs/lib/price.lib.php}{chapter.2}
|
||||
\BOOKMARK [1][-]{section.2.4}{R\351f\351rence du fichier htdocs/lib/thermometer.php}{chapter.2}
|
||||
\BOOKMARK [1][-]{section.2.5}{R\351f\351rence du fichier htdocs/lib/webcal.class.php}{chapter.2}
|
||||
\BOOKMARK [0][-]{chapter.1}{dolibarr Index des classes}{}
|
||||
\BOOKMARK [1][-]{section.1.1}{dolibarr Liste des classes}{chapter.1}
|
||||
\BOOKMARK [0][-]{chapter.2}{dolibarr Index des fichiers}{}
|
||||
\BOOKMARK [1][-]{section.2.1}{dolibarr Liste des fichiers}{chapter.2}
|
||||
\BOOKMARK [0][-]{chapter.3}{dolibarr Documentation des classes}{}
|
||||
\BOOKMARK [1][-]{section.3.1}{R\351f\351rence de la classe CMailFile}{chapter.3}
|
||||
\BOOKMARK [1][-]{section.3.2}{R\351f\351rence de la classe DoliDb}{chapter.3}
|
||||
\BOOKMARK [1][-]{section.3.3}{R\351f\351rence de la classe Webcal}{chapter.3}
|
||||
\BOOKMARK [0][-]{chapter.4}{dolibarr Documentation des fichiers}{}
|
||||
\BOOKMARK [1][-]{section.4.1}{R\351f\351rence du fichier htdocs/lib/CMailFile.class.php}{chapter.4}
|
||||
\BOOKMARK [1][-]{section.4.2}{R\351f\351rence du fichier htdocs/lib/functions.inc.php}{chapter.4}
|
||||
\BOOKMARK [1][-]{section.4.3}{R\351f\351rence du fichier htdocs/lib/ldap.lib.php}{chapter.4}
|
||||
\BOOKMARK [1][-]{section.4.4}{R\351f\351rence du fichier htdocs/lib/mysql.lib.php}{chapter.4}
|
||||
\BOOKMARK [1][-]{section.4.5}{R\351f\351rence du fichier htdocs/lib/price.lib.php}{chapter.4}
|
||||
\BOOKMARK [1][-]{section.4.6}{R\351f\351rence du fichier htdocs/lib/thermometer.php}{chapter.4}
|
||||
\BOOKMARK [1][-]{section.4.7}{R\351f\351rence du fichier htdocs/lib/webcal.class.php}{chapter.4}
|
||||
|
||||
Binary file not shown.
@ -35,7 +35,7 @@
|
||||
\vspace*{1cm}
|
||||
{\large G\'{e}n\'{e}r\'{e} par Doxygen 1.3.7}\\
|
||||
\vspace*{0.5cm}
|
||||
{\small Thu Jul 15 20:50:37 2004}\\
|
||||
{\small Fri Jul 16 00:31:06 2004}\\
|
||||
\end{center}
|
||||
\end{titlepage}
|
||||
\clearemptydoublepage
|
||||
@ -48,9 +48,13 @@
|
||||
\chapter{dolibarr Index des fichiers}
|
||||
\input{files}
|
||||
\chapter{dolibarr Documentation des classes}
|
||||
\input{classWebcal}
|
||||
\input{classCMailFile}
|
||||
\include{classDoliDb}
|
||||
\include{classWebcal}
|
||||
\chapter{dolibarr Documentation des fichiers}
|
||||
\input{ldap_8lib_8php}
|
||||
\input{CMailFile_8class_8php}
|
||||
\include{functions_8inc_8php}
|
||||
\include{ldap_8lib_8php}
|
||||
\include{mysql_8lib_8php}
|
||||
\include{price_8lib_8php}
|
||||
\include{thermometer_8php}
|
||||
|
||||
@ -1,25 +1,100 @@
|
||||
\select@language {french}
|
||||
\contentsline {chapter}{\numberline {1}dolibarr Index des fichiers}{1}{chapter.1}
|
||||
\contentsline {section}{\numberline {1.1}dolibarr Liste des fichiers}{1}{section.1.1}
|
||||
\contentsline {chapter}{\numberline {2}dolibarr Documentation des fichiers}{3}{chapter.2}
|
||||
\contentsline {section}{\numberline {2.1}R\'{e}f\'{e}rence du fichier htdocs/lib/ldap.lib.php}{3}{section.2.1}
|
||||
\contentsline {subsection}{\numberline {2.1.1}Description d\'{e}taill\'{e}e}{3}{subsection.2.1.1}
|
||||
\contentsline {subsection}{\numberline {2.1.2}Documentation des fonctions}{4}{subsection.2.1.2}
|
||||
\contentsline {subsubsection}{\numberline {2.1.2.1}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}{4}{subsubsection.2.1.2.1}
|
||||
\contentsline {subsubsection}{\numberline {2.1.2.2}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}{4}{subsubsection.2.1.2.2}
|
||||
\contentsline {subsubsection}{\numberline {2.1.2.3}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}{4}{subsubsection.2.1.2.3}
|
||||
\contentsline {subsubsection}{\numberline {2.1.2.4}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}{4}{subsubsection.2.1.2.4}
|
||||
\contentsline {subsubsection}{\numberline {2.1.2.5}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}{5}{subsubsection.2.1.2.5}
|
||||
\contentsline {subsubsection}{\numberline {2.1.2.6}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}{5}{subsubsection.2.1.2.6}
|
||||
\contentsline {section}{\numberline {2.2}R\'{e}f\'{e}rence du fichier htdocs/lib/mysql.lib.php}{6}{section.2.2}
|
||||
\contentsline {subsection}{\numberline {2.2.1}Description d\'{e}taill\'{e}e}{6}{subsection.2.2.1}
|
||||
\contentsline {section}{\numberline {2.3}R\'{e}f\'{e}rence du fichier htdocs/lib/price.lib.php}{7}{section.2.3}
|
||||
\contentsline {subsection}{\numberline {2.3.1}Description d\'{e}taill\'{e}e}{7}{subsection.2.3.1}
|
||||
\contentsline {subsection}{\numberline {2.3.2}Documentation des fonctions}{7}{subsection.2.3.2}
|
||||
\contentsline {subsubsection}{\numberline {2.3.2.1}calcul\_\discretionary {-}{}{}price}{7}{subsubsection.2.3.2.1}
|
||||
\contentsline {section}{\numberline {2.4}R\'{e}f\'{e}rence du fichier htdocs/lib/thermometer.php}{8}{section.2.4}
|
||||
\contentsline {subsection}{\numberline {2.4.1}Description d\'{e}taill\'{e}e}{8}{subsection.2.4.1}
|
||||
\contentsline {subsection}{\numberline {2.4.2}Documentation des fonctions}{8}{subsection.2.4.2}
|
||||
\contentsline {subsubsection}{\numberline {2.4.2.1}moneyMeter}{8}{subsubsection.2.4.2.1}
|
||||
\contentsline {section}{\numberline {2.5}R\'{e}f\'{e}rence du fichier htdocs/lib/webcal.class.php}{9}{section.2.5}
|
||||
\contentsline {subsection}{\numberline {2.5.1}Description d\'{e}taill\'{e}e}{9}{subsection.2.5.1}
|
||||
\contentsline {chapter}{\numberline {1}dolibarr Index des classes}{1}{chapter.1}
|
||||
\contentsline {section}{\numberline {1.1}dolibarr Liste des classes}{1}{section.1.1}
|
||||
\contentsline {chapter}{\numberline {2}dolibarr Index des fichiers}{3}{chapter.2}
|
||||
\contentsline {section}{\numberline {2.1}dolibarr Liste des fichiers}{3}{section.2.1}
|
||||
\contentsline {chapter}{\numberline {3}dolibarr Documentation des classes}{5}{chapter.3}
|
||||
\contentsline {section}{\numberline {3.1}R\'{e}f\'{e}rence de la classe CMail\discretionary {-}{}{}File}{5}{section.3.1}
|
||||
\contentsline {subsection}{\numberline {3.1.1}Description d\'{e}taill\'{e}e}{5}{subsection.3.1.1}
|
||||
\contentsline {subsection}{\numberline {3.1.2}Documentation des contructeurs et destructeur}{6}{subsection.3.1.2}
|
||||
\contentsline {subsubsection}{\numberline {3.1.2.1}CMailFile}{6}{subsubsection.3.1.2.1}
|
||||
\contentsline {section}{\numberline {3.2}R\'{e}f\'{e}rence de la classe Doli\discretionary {-}{}{}Db}{7}{section.3.2}
|
||||
\contentsline {subsection}{\numberline {3.2.1}Description d\'{e}taill\'{e}e}{8}{subsection.3.2.1}
|
||||
\contentsline {subsection}{\numberline {3.2.2}Documentation des contructeurs et destructeur}{8}{subsection.3.2.2}
|
||||
\contentsline {subsubsection}{\numberline {3.2.2.1}DoliDb}{8}{subsubsection.3.2.2.1}
|
||||
\contentsline {subsection}{\numberline {3.2.3}Documentation des fonctions membres}{9}{subsection.3.2.3}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.1}affected\_\discretionary {-}{}{}rows}{9}{subsubsection.3.2.3.1}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.2}begin}{9}{subsubsection.3.2.3.2}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.3}clone}{9}{subsubsection.3.2.3.3}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.4}close}{9}{subsubsection.3.2.3.4}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.5}commit}{10}{subsubsection.3.2.3.5}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.6}connect}{10}{subsubsection.3.2.3.6}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.7}create\_\discretionary {-}{}{}db}{10}{subsubsection.3.2.3.7}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.8}errno}{11}{subsubsection.3.2.3.8}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.9}error}{11}{subsubsection.3.2.3.9}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.10}fetch\_\discretionary {-}{}{}array}{11}{subsubsection.3.2.3.10}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.11}fetch\_\discretionary {-}{}{}object}{11}{subsubsection.3.2.3.11}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.12}fetch\_\discretionary {-}{}{}row}{11}{subsubsection.3.2.3.12}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.13}free}{12}{subsubsection.3.2.3.13}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.14}idate}{12}{subsubsection.3.2.3.14}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.15}last\_\discretionary {-}{}{}insert\_\discretionary {-}{}{}id}{12}{subsubsection.3.2.3.15}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.16}list\_\discretionary {-}{}{}tables}{12}{subsubsection.3.2.3.16}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.17}num\_\discretionary {-}{}{}fields}{13}{subsubsection.3.2.3.17}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.18}num\_\discretionary {-}{}{}rows}{13}{subsubsection.3.2.3.18}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.19}pconnect}{13}{subsubsection.3.2.3.19}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.20}plimit}{13}{subsubsection.3.2.3.20}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.21}query}{14}{subsubsection.3.2.3.21}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.22}result}{14}{subsubsection.3.2.3.22}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.23}rollback}{14}{subsubsection.3.2.3.23}
|
||||
\contentsline {subsubsection}{\numberline {3.2.3.24}select\_\discretionary {-}{}{}db}{15}{subsubsection.3.2.3.24}
|
||||
\contentsline {section}{\numberline {3.3}R\'{e}f\'{e}rence de la classe Webcal}{16}{section.3.3}
|
||||
\contentsline {subsection}{\numberline {3.3.1}Description d\'{e}taill\'{e}e}{16}{subsection.3.3.1}
|
||||
\contentsline {subsection}{\numberline {3.3.2}Documentation des fonctions membres}{16}{subsection.3.3.2}
|
||||
\contentsline {subsubsection}{\numberline {3.3.2.1}add}{16}{subsubsection.3.3.2.1}
|
||||
\contentsline {subsubsection}{\numberline {3.3.2.2}get\_\discretionary {-}{}{}next\_\discretionary {-}{}{}id}{16}{subsubsection.3.3.2.2}
|
||||
\contentsline {chapter}{\numberline {4}dolibarr Documentation des fichiers}{19}{chapter.4}
|
||||
\contentsline {section}{\numberline {4.1}R\'{e}f\'{e}rence du fichier htdocs/lib/CMail\discretionary {-}{}{}File.class.php}{19}{section.4.1}
|
||||
\contentsline {subsection}{\numberline {4.1.1}Description d\'{e}taill\'{e}e}{19}{subsection.4.1.1}
|
||||
\contentsline {section}{\numberline {4.2}R\'{e}f\'{e}rence du fichier htdocs/lib/functions.inc.php}{20}{section.4.2}
|
||||
\contentsline {subsection}{\numberline {4.2.1}Description d\'{e}taill\'{e}e}{21}{subsection.4.2.1}
|
||||
\contentsline {subsection}{\numberline {4.2.2}Documentation des fonctions}{22}{subsection.4.2.2}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.1}creer\_\discretionary {-}{}{}pass\_\discretionary {-}{}{}aleatoire}{22}{subsubsection.4.2.2.1}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.2}dol\_\discretionary {-}{}{}delete\_\discretionary {-}{}{}file}{22}{subsubsection.4.2.2.2}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.3}dolibarr\_\discretionary {-}{}{}del\_\discretionary {-}{}{}const}{22}{subsubsection.4.2.2.3}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.4}dolibarr\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}head}{22}{subsubsection.4.2.2.4}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.5}dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}ca}{23}{subsubsection.4.2.2.5}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.6}dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}date}{23}{subsubsection.4.2.2.6}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.7}dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}object\_\discretionary {-}{}{}info}{23}{subsubsection.4.2.2.7}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.8}dolibarr\_\discretionary {-}{}{}print\_\discretionary {-}{}{}phone}{23}{subsubsection.4.2.2.8}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.9}dolibarr\_\discretionary {-}{}{}set\_\discretionary {-}{}{}const}{24}{subsubsection.4.2.2.9}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.10}dolibarr\_\discretionary {-}{}{}syslog}{24}{subsubsection.4.2.2.10}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.11}doliMoveFileUpload}{24}{subsubsection.4.2.2.11}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.12}francs}{25}{subsubsection.4.2.2.12}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.13}inctva}{25}{subsubsection.4.2.2.13}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.14}initialiser\_\discretionary {-}{}{}sel}{25}{subsubsection.4.2.2.14}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.15}logfile}{25}{subsubsection.4.2.2.15}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.16}loginfunction}{26}{subsubsection.4.2.2.16}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.17}price}{26}{subsubsection.4.2.2.17}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.18}print\_\discretionary {-}{}{}date\_\discretionary {-}{}{}select}{26}{subsubsection.4.2.2.18}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.19}print\_\discretionary {-}{}{}duree\_\discretionary {-}{}{}select}{26}{subsubsection.4.2.2.19}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.20}print\_\discretionary {-}{}{}fiche\_\discretionary {-}{}{}titre}{27}{subsubsection.4.2.2.20}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.21}print\_\discretionary {-}{}{}fleche\_\discretionary {-}{}{}navigation}{27}{subsubsection.4.2.2.21}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.22}print\_\discretionary {-}{}{}heure\_\discretionary {-}{}{}select}{27}{subsubsection.4.2.2.22}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.23}print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre}{27}{subsubsection.4.2.2.23}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.24}print\_\discretionary {-}{}{}liste\_\discretionary {-}{}{}field\_\discretionary {-}{}{}titre\_\discretionary {-}{}{}new}{28}{subsubsection.4.2.2.24}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.25}print\_\discretionary {-}{}{}oui\_\discretionary {-}{}{}non}{28}{subsubsection.4.2.2.25}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.26}print\_\discretionary {-}{}{}titre}{28}{subsubsection.4.2.2.26}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.27}stat\_\discretionary {-}{}{}print}{29}{subsubsection.4.2.2.27}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.28}transcoS2L}{29}{subsubsection.4.2.2.28}
|
||||
\contentsline {subsubsection}{\numberline {4.2.2.29}tva}{29}{subsubsection.4.2.2.29}
|
||||
\contentsline {section}{\numberline {4.3}R\'{e}f\'{e}rence du fichier htdocs/lib/ldap.lib.php}{30}{section.4.3}
|
||||
\contentsline {subsection}{\numberline {4.3.1}Description d\'{e}taill\'{e}e}{30}{subsection.4.3.1}
|
||||
\contentsline {subsection}{\numberline {4.3.2}Documentation des fonctions}{30}{subsection.4.3.2}
|
||||
\contentsline {subsubsection}{\numberline {4.3.2.1}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}bind}{30}{subsubsection.4.3.2.1}
|
||||
\contentsline {subsubsection}{\numberline {4.3.2.2}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}connect}{31}{subsubsection.4.3.2.2}
|
||||
\contentsline {subsubsection}{\numberline {4.3.2.3}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}getversion}{31}{subsubsection.4.3.2.3}
|
||||
\contentsline {subsubsection}{\numberline {4.3.2.4}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}setversion}{31}{subsubsection.4.3.2.4}
|
||||
\contentsline {subsubsection}{\numberline {4.3.2.5}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unacc}{31}{subsubsection.4.3.2.5}
|
||||
\contentsline {subsubsection}{\numberline {4.3.2.6}dolibarr\_\discretionary {-}{}{}ldap\_\discretionary {-}{}{}unbind}{32}{subsubsection.4.3.2.6}
|
||||
\contentsline {section}{\numberline {4.4}R\'{e}f\'{e}rence du fichier htdocs/lib/mysql.lib.php}{33}{section.4.4}
|
||||
\contentsline {subsection}{\numberline {4.4.1}Description d\'{e}taill\'{e}e}{33}{subsection.4.4.1}
|
||||
\contentsline {section}{\numberline {4.5}R\'{e}f\'{e}rence du fichier htdocs/lib/price.lib.php}{34}{section.4.5}
|
||||
\contentsline {subsection}{\numberline {4.5.1}Description d\'{e}taill\'{e}e}{34}{subsection.4.5.1}
|
||||
\contentsline {subsection}{\numberline {4.5.2}Documentation des fonctions}{34}{subsection.4.5.2}
|
||||
\contentsline {subsubsection}{\numberline {4.5.2.1}calcul\_\discretionary {-}{}{}price}{34}{subsubsection.4.5.2.1}
|
||||
\contentsline {section}{\numberline {4.6}R\'{e}f\'{e}rence du fichier htdocs/lib/thermometer.php}{35}{section.4.6}
|
||||
\contentsline {subsection}{\numberline {4.6.1}Description d\'{e}taill\'{e}e}{35}{subsection.4.6.1}
|
||||
\contentsline {subsection}{\numberline {4.6.2}Documentation des fonctions}{35}{subsection.4.6.2}
|
||||
\contentsline {subsubsection}{\numberline {4.6.2.1}moneyMeter}{35}{subsubsection.4.6.2.1}
|
||||
\contentsline {section}{\numberline {4.7}R\'{e}f\'{e}rence du fichier htdocs/lib/webcal.class.php}{36}{section.4.7}
|
||||
\contentsline {subsection}{\numberline {4.7.1}Description d\'{e}taill\'{e}e}{36}{subsection.4.7.1}
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2.4}R\'{e}f\'{e}rence du fichier htdocs/lib/thermometer.php}{8}{section.2.4}}
|
||||
\newlabel{thermometer_8php}{{2.4}{8}{R\'{e}f\'{e}rence du fichier htdocs/lib/thermometer.php\relax }{section.2.4}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.4.1}Description d\'{e}taill\'{e}e}{8}{subsection.2.4.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.4.2}Documentation des fonctions}{8}{subsection.2.4.2}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.4.2.1}moneyMeter}{8}{subsubsection.2.4.2.1}}
|
||||
\newlabel{thermometer_8php_a0}{{2.4.2.1}{8}{moneyMeter\relax }{subsubsection.2.4.2.1}{}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {4.6}R\'{e}f\'{e}rence du fichier htdocs/lib/thermometer.php}{35}{section.4.6}}
|
||||
\newlabel{thermometer_8php}{{4.6}{35}{R\'{e}f\'{e}rence du fichier htdocs/lib/thermometer.php\relax }{section.4.6}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Description d\'{e}taill\'{e}e}{35}{subsection.4.6.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Documentation des fonctions}{35}{subsection.4.6.2}}
|
||||
\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.6.2.1}moneyMeter}{35}{subsubsection.4.6.2.1}}
|
||||
\newlabel{thermometer_8php_a0}{{4.6.2.1}{35}{moneyMeter\relax }{subsubsection.4.6.2.1}{}}
|
||||
\@setckpt{thermometer_8php}{
|
||||
\setcounter{page}{9}
|
||||
\setcounter{page}{36}
|
||||
\setcounter{equation}{0}
|
||||
\setcounter{enumi}{0}
|
||||
\setcounter{enumii}{0}
|
||||
@ -15,8 +15,8 @@
|
||||
\setcounter{footnote}{0}
|
||||
\setcounter{mpfootnote}{0}
|
||||
\setcounter{part}{0}
|
||||
\setcounter{chapter}{2}
|
||||
\setcounter{section}{4}
|
||||
\setcounter{chapter}{4}
|
||||
\setcounter{section}{6}
|
||||
\setcounter{subsection}{2}
|
||||
\setcounter{subsubsection}{1}
|
||||
\setcounter{paragraph}{0}
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2.5}R\'{e}f\'{e}rence du fichier htdocs/lib/webcal.class.php}{9}{section.2.5}}
|
||||
\newlabel{webcal_8class_8php}{{2.5}{9}{R\'{e}f\'{e}rence du fichier htdocs/lib/webcal.class.php\relax }{section.2.5}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.5.1}Description d\'{e}taill\'{e}e}{9}{subsection.2.5.1}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {4.7}R\'{e}f\'{e}rence du fichier htdocs/lib/webcal.class.php}{36}{section.4.7}}
|
||||
\newlabel{webcal_8class_8php}{{4.7}{36}{R\'{e}f\'{e}rence du fichier htdocs/lib/webcal.class.php\relax }{section.4.7}{}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Description d\'{e}taill\'{e}e}{36}{subsection.4.7.1}}
|
||||
\@setckpt{webcal_8class_8php}{
|
||||
\setcounter{page}{10}
|
||||
\setcounter{page}{37}
|
||||
\setcounter{equation}{0}
|
||||
\setcounter{enumi}{0}
|
||||
\setcounter{enumii}{0}
|
||||
@ -12,8 +12,8 @@
|
||||
\setcounter{footnote}{0}
|
||||
\setcounter{mpfootnote}{0}
|
||||
\setcounter{part}{0}
|
||||
\setcounter{chapter}{2}
|
||||
\setcounter{section}{5}
|
||||
\setcounter{chapter}{4}
|
||||
\setcounter{section}{7}
|
||||
\setcounter{subsection}{1}
|
||||
\setcounter{subsubsection}{0}
|
||||
\setcounter{paragraph}{0}
|
||||
|
||||
@ -18,18 +18,26 @@ to chunk_split
|
||||
*/
|
||||
/* Note: if you don't have base64_encode on your sytem it will not work */
|
||||
|
||||
/*
|
||||
Éric Seigne <eric.seigne@ryxeo.com> 2004.01.08
|
||||
- ajout de la gestion du Cc
|
||||
- ajout de l'expédition de plusieurs fichiers
|
||||
/*! \file CMailFile.class.php
|
||||
\brief Classe permettant d'envoyer des attachements par mail
|
||||
\author Dan Potter.
|
||||
\author Eric Seigne
|
||||
\author Laurent Destailleur.
|
||||
\version 1.2.
|
||||
*/
|
||||
|
||||
Laurent Destailleur 2004.02.10
|
||||
- Correction d'un disfonctionnement suite à modif précédente sur la gestion
|
||||
des attachements multi-fichiers
|
||||
/*! \class CMailFile
|
||||
\brief Classe permettant d'envoyer des attachements par mail
|
||||
\remarks Eric Seigne <eric.seigne@ryxeo.com> 2004.01.08
|
||||
\remarks ajout de la gestion des cc:
|
||||
\remarks ajout de l'expedition de plusieurs fichiers
|
||||
|
||||
\remarks Laurent Destailleur 2004.02.10
|
||||
\remarks correction d'un disfonctionnement à la gestion des attachements multiples
|
||||
*/
|
||||
|
||||
// simple class that encapsulates mail() with addition of mime file attachment.
|
||||
class CMailFile
|
||||
class CMailFile
|
||||
{
|
||||
var $subject;
|
||||
var $addr_to;
|
||||
@ -39,7 +47,19 @@ class CMailFile
|
||||
var $mime_headers;
|
||||
var $mime_boundary = "--==================_846811060==_";
|
||||
var $smtp_headers;
|
||||
|
||||
|
||||
/*!
|
||||
\brief CMailFile
|
||||
\param subject
|
||||
\param to
|
||||
\param from
|
||||
\param msg
|
||||
\param filename_list
|
||||
\param mimetype_list
|
||||
\param mimefilename_list
|
||||
\param addr_cc
|
||||
*/
|
||||
|
||||
// CMail("sujet","email_to","email_from","email_msg",tableau du path de fichiers,tableau de type mime,tableau de noms fichiers,"chaine cc")
|
||||
function CMailFile($subject,$to,$from,$msg,$filename_list,$mimetype_list,$mimefilename_list,$addr_cc = "")
|
||||
{
|
||||
|
||||
@ -23,21 +23,44 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*! \file functions.inc.php
|
||||
\brief Ensemble de fonctions de base de dolibarr sous forme d'include
|
||||
\author Rodolphe Quiedeville
|
||||
\author Jean-Louis Bergamo
|
||||
\author Laurent Destailleur
|
||||
\version 1.2.
|
||||
|
||||
Ensemble de fonctions de base de dolibarr sous forme d'include
|
||||
*/
|
||||
|
||||
$yn[0] = "non";
|
||||
$yn[1] = "oui";
|
||||
|
||||
Function dolibarr_syslog($message)
|
||||
/*!
|
||||
\brief envoi des messages dolibarr dans syslog
|
||||
\param message message a envoyer a syslog
|
||||
*/
|
||||
|
||||
function dolibarr_syslog($message)
|
||||
{
|
||||
define_syslog_variables();
|
||||
|
||||
openlog("dolibarr", LOG_PID | LOG_PERROR, LOG_USER); # LOG_USER au lieu de LOG_LOCAL0 car non accepté par tous les PHP
|
||||
|
||||
|
||||
syslog(LOG_WARNING, $message);
|
||||
|
||||
closelog();
|
||||
}
|
||||
|
||||
Function dolibarr_fiche_head($links, $active=0)
|
||||
/*!
|
||||
\brief header d'une fiche
|
||||
\param links liens
|
||||
\param active
|
||||
\remarks active = 0 par défaut
|
||||
*/
|
||||
|
||||
|
||||
function dolibarr_fiche_head($links, $active=0)
|
||||
{
|
||||
print "<!-- fiche --><div class=\"tabs\">\n";
|
||||
|
||||
@ -64,10 +87,20 @@ Function dolibarr_fiche_head($links, $active=0)
|
||||
print "<div class=\"tabBar\">\n<br>\n";
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief insertion d'une constantes dans la base de données
|
||||
\param db base de données
|
||||
\param name nom de la constante
|
||||
\param value valeur de la constante
|
||||
\param type type de constante
|
||||
\param visible la constante est t'elle visible
|
||||
\param note explication de la constante
|
||||
\remarks type = chaine par défaut
|
||||
\remarks visible = 0 par défaut
|
||||
\remarks retourne 0 pour raté, 1 pour réussi
|
||||
*/
|
||||
|
||||
Function dolibarr_set_const($db, $name, $value, $type='chaine', $visible=0, $note='')
|
||||
// Ajoute ou modifie un parametre dans la table llx_const
|
||||
// Retour: 0=KO, 1=OK
|
||||
function dolibarr_set_const($db, $name, $value, $type='chaine', $visible=0, $note='')
|
||||
{
|
||||
$sql = "REPLACE INTO llx_const SET name = '$name', value='$value', visible=$visible, type='$type', note='$note'";
|
||||
|
||||
@ -81,12 +114,17 @@ Function dolibarr_set_const($db, $name, $value, $type='chaine', $visible=0, $not
|
||||
}
|
||||
}
|
||||
|
||||
Function dolibarr_del_const($db, $name)
|
||||
// Supprime un parametre de la table llx_const
|
||||
// Retour: 0=KO, 1=OK
|
||||
/*!
|
||||
\brief effacement d'une constante dans la base de données
|
||||
\param db base de données
|
||||
\param name nom de la constante
|
||||
\remarks retourne 0 pour raté, 1 pour réussi
|
||||
*/
|
||||
|
||||
function dolibarr_del_const($db, $name)
|
||||
{
|
||||
$sql = "DELETE FROM llx_const WHERE name='$name'";
|
||||
|
||||
|
||||
if ($db->query($sql))
|
||||
{
|
||||
return 1;
|
||||
@ -97,9 +135,14 @@ Function dolibarr_del_const($db, $name)
|
||||
}
|
||||
}
|
||||
|
||||
Function dolibarr_print_ca($ca)
|
||||
/*!
|
||||
\brief formattage des nombres
|
||||
\param ca valeur a formater
|
||||
\return cat valeur formatée
|
||||
*/
|
||||
|
||||
function dolibarr_print_ca($ca)
|
||||
{
|
||||
// Permet d'avoir une fonction commune du formatage des nombres
|
||||
if ($ca > 1000)
|
||||
{
|
||||
$cat = round(($ca / 1000),2);
|
||||
@ -110,7 +153,7 @@ Function dolibarr_print_ca($ca)
|
||||
$cat = round($ca,2);
|
||||
$cat = "$cat euros";
|
||||
}
|
||||
|
||||
|
||||
if ($ca > 1000000)
|
||||
{
|
||||
$cat = round(($ca / 1000000),2);
|
||||
@ -120,13 +163,25 @@ Function dolibarr_print_ca($ca)
|
||||
return $cat;
|
||||
}
|
||||
|
||||
Function dolibarr_print_date($time,$format="%d %b %Y")
|
||||
/*!
|
||||
\brief formattage de la date
|
||||
\param time date
|
||||
\param format format de la date "%d %b %Y"
|
||||
\remarks retourne la date formatée
|
||||
*/
|
||||
|
||||
function dolibarr_print_date($time,$format="%d %b %Y")
|
||||
{
|
||||
// Permet d'avoir une fonction commune du formatage d'affichage des date
|
||||
return strftime($format,$time);
|
||||
}
|
||||
|
||||
Function dolibarr_print_object_info($object)
|
||||
|
||||
/*!
|
||||
\brief affiche les informations d'un objet
|
||||
\param object objet a afficher
|
||||
*/
|
||||
|
||||
function dolibarr_print_object_info($object)
|
||||
{
|
||||
print "Créé par : " . $object->user_creation->fullname . '<br>';
|
||||
print "Date de création : " . strftime("%A %d %B %Y %H:%M:%S",$object->date_creation) . '<br>';
|
||||
@ -134,9 +189,15 @@ Function dolibarr_print_object_info($object)
|
||||
print "Date de modification : " . strftime("%A %d %B %Y %H:%M:%S",$object->date_modification) . '<br>';
|
||||
}
|
||||
|
||||
Function dolibarr_print_phone($phone)
|
||||
/*!
|
||||
\brief formattage du telephone
|
||||
\param phone numéro de telephone à formater
|
||||
\return phone numéro de téléphone formaté
|
||||
\remarks net tient pas en compte le format belge 02/211 34 83
|
||||
*/
|
||||
|
||||
function dolibarr_print_phone($phone)
|
||||
{
|
||||
// Permet d'avoir une fonction commune du formatage d'affichage des tel/fax
|
||||
if (strlen(trim($phone)) == 10)
|
||||
{
|
||||
return substr($phone,0,2)." ".substr($phone,2,2)." ".substr($phone,4,2)." ".substr($phone,6,2)." ".substr($phone,8,2);
|
||||
@ -147,76 +208,78 @@ Function dolibarr_print_phone($phone)
|
||||
}
|
||||
}
|
||||
|
||||
Function img_file($alt = "Voir")
|
||||
function img_file($alt = "Voir")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/file.png" border="0" alt="'.$alt.'">';
|
||||
}
|
||||
|
||||
Function img_file_new($alt = "Voir")
|
||||
function img_file_new($alt = "Voir")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/filenew.png" border="0" alt="'.$alt.'">';
|
||||
}
|
||||
|
||||
|
||||
Function img_pdf($alt = "Voir")
|
||||
function img_pdf($alt = "Voir")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/pdf.png" border="0" alt="'.$alt.'">';
|
||||
}
|
||||
|
||||
Function img_warning($alt = "Voir")
|
||||
function img_warning($alt = "Voir")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/warning.png" border="0" alt="'.$alt.'">';
|
||||
}
|
||||
|
||||
Function img_delete($alt = "Supprimer")
|
||||
function img_delete($alt = "Supprimer")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/delete.png" border="0" alt="'.$alt.'" title="Supprimer">';
|
||||
}
|
||||
|
||||
Function img_info($alt = "Informations")
|
||||
function img_info($alt = "Informations")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/info.png" border="0" alt="'.$alt.'" title="Informations">';
|
||||
}
|
||||
|
||||
|
||||
Function img_edit($alt = "Modifier")
|
||||
function img_edit($alt = "Modifier")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/edit.png" border="0" alt="'.$alt.'" title="Modifier">';
|
||||
}
|
||||
|
||||
Function img_phone_in($alt = "Modifier")
|
||||
function img_phone_in($alt = "Modifier")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/call.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
Function img_phone_out($alt = "Modifier")
|
||||
function img_phone_out($alt = "Modifier")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/call_out.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
|
||||
Function img_alerte($alt = "Alerte")
|
||||
function img_alerte($alt = "Alerte")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/alerte.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
|
||||
Function img_next($alt = "Suivant")
|
||||
function img_next($alt = "Suivant")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/next.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
Function img_previous($alt = "Précédent")
|
||||
function img_previous($alt = "Précédent")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/previous.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief fonction de login
|
||||
\remarks if faut changer le code html dans la fonction pour changer le design
|
||||
\remarks le css devrait etre pris dans le repetoire de dolibarr et ne pas etre en dur !
|
||||
*/
|
||||
|
||||
function loginFunction()
|
||||
function loginfunction()
|
||||
{
|
||||
/**
|
||||
* Change the HTML output so that it fits to your
|
||||
* application. */
|
||||
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
|
||||
print "\n<html><head><title>Dolibarr Authentification</title>";
|
||||
print '<style type="text/css">
|
||||
@ -292,10 +355,11 @@ function loginFunction()
|
||||
<p align="center"><input value="Login" type="submit">
|
||||
</form>';
|
||||
}
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
\brief acces interdit
|
||||
*/
|
||||
|
||||
function accessforbidden()
|
||||
{
|
||||
llxHeader();
|
||||
@ -304,6 +368,12 @@ function accessforbidden()
|
||||
exit(0);
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief deplacer les fichiers telechargés
|
||||
\param src_file fichier source
|
||||
\param dest_file fichier de destination
|
||||
*/
|
||||
|
||||
function doliMoveFileUpload($src_file, $dest_file)
|
||||
{
|
||||
$file_name = $dest_file;
|
||||
@ -312,14 +382,15 @@ function doliMoveFileUpload($src_file, $dest_file)
|
||||
{
|
||||
$file_name = $dest_file . ".txt";
|
||||
}
|
||||
|
||||
|
||||
return move_uploaded_file($src_file, $file_name);
|
||||
}
|
||||
|
||||
|
||||
function dolibarr_user_page_param($db, &$user)
|
||||
{
|
||||
foreach ($GLOBALS["_GET"] as $key=>$value)
|
||||
{
|
||||
{
|
||||
if ($key == "sortfield")
|
||||
{
|
||||
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."user_param ";
|
||||
@ -327,7 +398,7 @@ function dolibarr_user_page_param($db, &$user)
|
||||
$sql .= " ,page='".$GLOBALS["SCRIPT_URL"] . "'";
|
||||
$sql .= " ,param='sortfield'";
|
||||
$sql .= " ,value='".urlencode($value)."'";
|
||||
|
||||
|
||||
$db->query($sql);
|
||||
$user->page_param["sortfield"] = $value;
|
||||
}
|
||||
@ -341,7 +412,7 @@ function dolibarr_user_page_param($db, &$user)
|
||||
$sql .= " ,page='".$GLOBALS["SCRIPT_URL"] . "'";
|
||||
$sql .= " ,param='sortorder'";
|
||||
$sql .= " ,value='".urlencode($value)."'";
|
||||
|
||||
|
||||
$db->query($sql);
|
||||
$user->page_param["sortorder"] = $value;
|
||||
}
|
||||
@ -352,7 +423,7 @@ function dolibarr_user_page_param($db, &$user)
|
||||
$sql .= " ,page='".$GLOBALS["SCRIPT_URL"] . "'";
|
||||
$sql .= " ,param='begin'";
|
||||
$sql .= " ,value='".$value."'";
|
||||
|
||||
|
||||
$db->query($sql);
|
||||
$user->page_param["begin"] = $value;
|
||||
}
|
||||
@ -363,19 +434,26 @@ function dolibarr_user_page_param($db, &$user)
|
||||
$sql .= " ,page='".$GLOBALS["SCRIPT_URL"] . "'";
|
||||
$sql .= " ,param='page'";
|
||||
$sql .= " ,value='".$value."'";
|
||||
|
||||
|
||||
$db->query($sql);
|
||||
$user->page_param["page"] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief transcodage de francs en euros
|
||||
\param zonein zone de depart
|
||||
\param devise type de devise
|
||||
\return r
|
||||
*/
|
||||
|
||||
function transcoS2L($zonein,$devise)
|
||||
{
|
||||
{
|
||||
// Open source offert par <A HREF="mailto:alainfloch@free.fr?subject=chif2let">alainfloch@free.fr</A> 28/10/2001, sans garantie.
|
||||
// début de la fonction de transcodification de somme en toutes lettres
|
||||
|
||||
/* $zonein = "123,56";
|
||||
/* $zonein = "123,56";
|
||||
* $devise = "E"; // préciser F si francs , sinon ce sera de l'euro
|
||||
* $r = transcoS2L($zonein,$devise); // appeler la fonction
|
||||
* echo "résultat vaut $r<br>";
|
||||
@ -399,7 +477,7 @@ function transcoS2L($zonein,$devise)
|
||||
$unite_pluriel = " euros ";
|
||||
$cent_singulier = " centime";
|
||||
}
|
||||
|
||||
|
||||
$arr1_99 = array("zéro","un","deux","trois",
|
||||
"quatre","cinq","six","sept",
|
||||
"huit","neuf","dix","onze","douze",
|
||||
@ -541,7 +619,7 @@ function transcoS2L($zonein,$devise)
|
||||
if ($C1 > 1) $r = $r.$arr1_99[$C1]." cent ";
|
||||
}
|
||||
}
|
||||
if ($C2 != 0)
|
||||
if ($C2 != 0)
|
||||
{
|
||||
$r = $r.$arr1_99[$C2];
|
||||
}
|
||||
@ -566,7 +644,16 @@ function transcoS2L($zonein,$devise)
|
||||
return($r); // retourne le résultat
|
||||
} // fin fonction transcoS2L
|
||||
|
||||
|
||||
/*!
|
||||
\brief affichage du titre d'une liste
|
||||
\param name
|
||||
\param file
|
||||
\param field
|
||||
\param begin
|
||||
\param options
|
||||
\remarks begin = "" par défaut
|
||||
\remarks options = "" par défaut
|
||||
*/
|
||||
|
||||
function print_liste_field_titre($name, $file, $field, $begin="", $options="")
|
||||
{
|
||||
@ -579,13 +666,23 @@ function print_liste_field_titre($name, $file, $field, $begin="", $options="")
|
||||
print '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/1uparrow.png" border="0" alt="Z-A"></a>';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief affichage du titre d'une liste avec possibilité de tri et de choix du type de la balise td
|
||||
\param name
|
||||
\param file
|
||||
\param field
|
||||
\param begin
|
||||
\param options
|
||||
\param td
|
||||
\param sortfield
|
||||
\remarks begin = "" par défaut
|
||||
\remarks options = "" par défaut
|
||||
\remarks td = "" par défaut
|
||||
\remarks sortfield = "" par défaut
|
||||
*/
|
||||
|
||||
function print_liste_field_titre_new($name, $file, $field, $begin="", $options="", $td="", $sortfield="")
|
||||
{
|
||||
/*
|
||||
* idem à la fonction ci dessus mais ajoute des fonctionnalités
|
||||
*
|
||||
*
|
||||
*/
|
||||
global $conf;
|
||||
if ($sortfield == $field)
|
||||
{
|
||||
@ -603,16 +700,22 @@ function print_liste_field_titre_new($name, $file, $field, $begin="", $options="
|
||||
print "</td>";
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
/*!
|
||||
\brief affichage d'un titre
|
||||
\param titre le titre a afficher
|
||||
*/
|
||||
|
||||
function print_titre($titre)
|
||||
{
|
||||
print '<div class="titre">'.$titre.'</div>';
|
||||
}
|
||||
/*
|
||||
* Idem que print_titre mais offre en plus possibilité de mettre un text à droite
|
||||
*/
|
||||
|
||||
/*!
|
||||
\brief affichage d'un titre d'une fiche aligné a droite
|
||||
\param titre le titre a afficher
|
||||
\param mesg message afficher
|
||||
*/
|
||||
|
||||
function print_fiche_titre($titre, $mesg='')
|
||||
{
|
||||
print "\n".'<table width="100%" border="0" cellpadding="3" cellspacing="0">';
|
||||
@ -624,25 +727,26 @@ function print_fiche_titre($titre, $mesg='')
|
||||
print '</tr></table>'."\n";
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
/*!
|
||||
\brief effacement d'un fichier
|
||||
\param file fichier a effacer
|
||||
*/
|
||||
|
||||
function dol_delete_file($file)
|
||||
{
|
||||
return unlink($file);
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
/*!
|
||||
\brief accès refusé
|
||||
*/
|
||||
|
||||
function block_access()
|
||||
{
|
||||
llxHeader();
|
||||
print "Accés refusé";
|
||||
llxFooter();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
@ -664,7 +768,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
|
||||
|
||||
print '<table width="100%" border="0" cellpadding="3" cellspacing="0">';
|
||||
|
||||
if ($page > 0)
|
||||
if ($page > 0)
|
||||
{
|
||||
print '<tr><td><div class="titre">'.$titre.' - page '.($page+1).'</div></td>';
|
||||
}
|
||||
@ -697,27 +801,34 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
|
||||
print '</td></tr></table>';
|
||||
}
|
||||
|
||||
/*
|
||||
* fonction servant a afficher les fleches de navigation dans les
|
||||
* pages de liste
|
||||
*/
|
||||
/*!
|
||||
\brief fonction servant a afficher les fleches de navigation dans les pages de listes
|
||||
\param page numéro de la page
|
||||
\param file lien
|
||||
\param options
|
||||
\param nextpage page suivante
|
||||
*/
|
||||
|
||||
function print_fleche_navigation($page,$file,$options='', $nextpage)
|
||||
{
|
||||
global $conf;
|
||||
if ($page > 0)
|
||||
if ($page > 0)
|
||||
{
|
||||
print '<a href="'.$file.'?page='.($page-1).$options.'"><img alt="Page précédente" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/1leftarrow.png" border="0"></a>';
|
||||
}
|
||||
|
||||
if ($nextpage > 0)
|
||||
if ($nextpage > 0)
|
||||
{
|
||||
print '<a href="'.$file.'?page='.($page+1).$options.'"><img alt="Page suivante" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/1rightarrow.png" border="0"></a>';
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
\brief fonction servant a afficher un menu déroulant avec oui ou non
|
||||
\param value
|
||||
\remarks value peut avoir la valeur 0 ou 1
|
||||
*/
|
||||
|
||||
function print_oui_non($value)
|
||||
{
|
||||
if ($value)
|
||||
@ -731,10 +842,13 @@ function print_oui_non($value)
|
||||
print '<option value="1">oui';
|
||||
}
|
||||
}
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
\brief fonction servant a afficher les mois dans un liste déroulante
|
||||
\param set_time
|
||||
\remarks set_time = '' par défaut
|
||||
*/
|
||||
|
||||
function print_date_select($set_time='')
|
||||
{
|
||||
if (! $set_time)
|
||||
@ -809,10 +923,15 @@ function print_date_select($set_time='')
|
||||
print "</select>\n";
|
||||
|
||||
}
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
/*!
|
||||
\brief fonction servant a afficher les heures/minutes dans un liste déroulante
|
||||
\param prefix
|
||||
\param begin
|
||||
\param end
|
||||
\remarks begin = 1 par défaut
|
||||
\remarks end = 23 par défaut
|
||||
*/
|
||||
|
||||
function print_heure_select($prefix,$begin=1,$end=23) {
|
||||
|
||||
print '<select name="'.$prefix.'hour">';
|
||||
@ -829,10 +948,12 @@ function print_heure_select($prefix,$begin=1,$end=23) {
|
||||
}
|
||||
print "</select>\n";
|
||||
}
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
\brief fonction servant a afficher une durée dans une liste déroulante
|
||||
\param prefix
|
||||
*/
|
||||
|
||||
function print_duree_select($prefix)
|
||||
{
|
||||
print '<select name="'.$prefix.'hour">';
|
||||
@ -852,19 +973,23 @@ function print_duree_select($prefix)
|
||||
print "</select>\n";
|
||||
}
|
||||
|
||||
/*
|
||||
* Return an amount with format "9 999.99"
|
||||
* Fonction utilisée dans les pdf et les pages
|
||||
* html
|
||||
*/
|
||||
/*!
|
||||
\brief fonction qui retourne un montant monétaire formaté
|
||||
\param amount montant a formater
|
||||
\param html formatage html ou pas
|
||||
\remarks html = 0 par défaut
|
||||
\remarks fnction utilisée dans les pdf et les pages html
|
||||
|
||||
*/
|
||||
|
||||
function price($amount, $html=0)
|
||||
{
|
||||
if ($html)
|
||||
{
|
||||
|
||||
$dec='.'; $thousand=' ';
|
||||
$dec='.'; $thousand=' ';
|
||||
return ereg_replace(' ',' ',number_format($amount, 2, $dec, $thousand));
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -873,39 +998,63 @@ function price($amount, $html=0)
|
||||
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief fonction qui convertit des euros en francs
|
||||
\param euros somme en euro à convertir
|
||||
\return price
|
||||
*/
|
||||
|
||||
function francs($euros)
|
||||
{
|
||||
return price($euros * 6.55957);
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief fonction qui calcule la tva
|
||||
\param euros somme en euro
|
||||
\param taux taux de tva
|
||||
*/
|
||||
|
||||
function tva($euros, $taux=19.6)
|
||||
{
|
||||
$taux = $taux / 100 ;
|
||||
|
||||
return sprintf("%01.2f",($euros * $taux));
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief fonction qui calcule le montant tva incluse
|
||||
\param euros somme en euro
|
||||
\param taux taux de tva
|
||||
*/
|
||||
|
||||
function inctva($euros, $taux=1.196)
|
||||
{
|
||||
return sprintf("%01.2f",($euros * $taux));
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief fonction qui affiche des statistiques
|
||||
\param basename
|
||||
\param bc1
|
||||
\param bc2
|
||||
\param ftc
|
||||
\param jour
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
function stat_print($basename,$bc1,$bc2,$ftc, $jour) {
|
||||
|
||||
$db = pg_Connect("","","","","$basename");
|
||||
if (!$db) {
|
||||
echo "Pas de connexion a la base\n";
|
||||
exit ;
|
||||
echo "Pas de connexion a la base\n";
|
||||
exit ;
|
||||
}
|
||||
|
||||
$offset = $jour * 9;
|
||||
|
||||
$sql="SELECT s.date, s.nb, l.libelle FROM stat_base as s, stat_cat as l WHERE s.cat = l.id ORDER by s.date DESC, s.cat ASC LIMIT 9 OFFSET $offset";
|
||||
|
||||
|
||||
$result = $db->query($sql);
|
||||
if (!$result) {
|
||||
print "Erreur SELECT<br><h1>$sql</h1><br>";
|
||||
@ -919,7 +1068,7 @@ function stat_print($basename,$bc1,$bc2,$ftc, $jour) {
|
||||
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
|
||||
|
||||
$tag = 1;
|
||||
while ( $i < $num) {
|
||||
$obj = $db->fetch_object( $i);
|
||||
@ -932,7 +1081,7 @@ function stat_print($basename,$bc1,$bc2,$ftc, $jour) {
|
||||
}
|
||||
print "</TABLE>";
|
||||
$db->free();
|
||||
|
||||
|
||||
$db->close();
|
||||
|
||||
}
|
||||
@ -941,8 +1090,8 @@ function tab_count($basename,$bc1,$bc2,$ftc) {
|
||||
|
||||
$db = pg_Connect("","","","","$basename");
|
||||
if (!$db) {
|
||||
echo "Pas de connexion a la base\n";
|
||||
exit ;
|
||||
echo "Pas de connexion a la base\n";
|
||||
exit ;
|
||||
}
|
||||
|
||||
$sql="SELECT count(*) AS nbcv from candidat WHERE active=1";
|
||||
@ -952,13 +1101,13 @@ function tab_count($basename,$bc1,$bc2,$ftc) {
|
||||
return 1;
|
||||
}
|
||||
print "<table border=0 bgcolor=black cellspacing=0 cellpadding=0><tr><td>";
|
||||
|
||||
|
||||
print "<table border=0 cellspacing=1 cellpadding=1>";
|
||||
print "<tr><td><font color=\"white\">base <b>$basename</b></font></td>";
|
||||
print "<td><font color=\"white\">libelle</font></td>";
|
||||
print "</tr>";
|
||||
$nbcv = $db->result( $i, "nbcv");
|
||||
|
||||
|
||||
print "<tr $bc1><td><b>$ftc Nombre de CV</font></b></td>\n";
|
||||
print "<td align=\"center\">$ftc $nbcv</td>\n";
|
||||
print "</tr>\n";
|
||||
@ -969,15 +1118,15 @@ function tab_count($basename,$bc1,$bc2,$ftc) {
|
||||
$result = $db->query($sql);
|
||||
if (!$result) {
|
||||
print "Erreur SELECT<br><h1>$sql</h1><br>";
|
||||
}
|
||||
}
|
||||
$nbcv = $db->result( $i, "nbcv");
|
||||
|
||||
|
||||
print "<tr $bc2><td><b>$ftc Nombre d'offre</font></b></td>";
|
||||
print "<td align=\"center\">$ftc $nbcv</td>";
|
||||
print "</tr>";
|
||||
|
||||
|
||||
$db->free();
|
||||
|
||||
|
||||
|
||||
$sql="SELECT count(*) AS nbcv from candidat WHERE active=0";
|
||||
|
||||
@ -987,53 +1136,55 @@ function tab_count($basename,$bc1,$bc2,$ftc) {
|
||||
}
|
||||
|
||||
$nbcv = $db->result( $i, "nbcv");
|
||||
|
||||
|
||||
print "<tr $bc1><td><b>$ftc Nombre de CV inactifs</font></b></td>\n";
|
||||
print "<td align=\"center\">$ftc $nbcv</td>";
|
||||
print "</tr>";
|
||||
|
||||
|
||||
$db->free();
|
||||
|
||||
|
||||
$sql="SELECT count(*) AS nbcv from offre WHERE active=0";
|
||||
|
||||
|
||||
$result = $db->query($sql);
|
||||
if (!$result) {
|
||||
print "Erreur SELECT<br><h1>$sql</h1><br>";
|
||||
}
|
||||
|
||||
|
||||
$nbcv = $db->result( $i, "nbcv");
|
||||
|
||||
print "<tr $bc2><td><b>$ftc Nombre d'offres inactives</font></b></td>\n";
|
||||
print "<td align=\"center\">$ftc $nbcv</td>\n";
|
||||
print "</tr>\n";
|
||||
|
||||
|
||||
$db->free();
|
||||
|
||||
|
||||
$sql="SELECT count(*) AS nbsoc from logsoc";
|
||||
|
||||
|
||||
$result = $db->query($sql);
|
||||
if (!$result) {
|
||||
print "Erreur SELECT<br><h1>$sql</h1><br>";
|
||||
}
|
||||
|
||||
|
||||
$nbsoc = $db->result( $i, "nbsoc");
|
||||
|
||||
|
||||
print "<tr $bc1><td><b>$ftc Nombre de logins societes</font></b></td>\n";
|
||||
print "<td align=\"center\">$ftc $nbsoc</td>";
|
||||
print "</tr>";
|
||||
|
||||
print "</td></tr></table></td></tr></table>";
|
||||
|
||||
|
||||
$db->close();
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* logfile : permet de logguer dans un fichier
|
||||
* cette fonction ne fonctionenra que si et seulement si le fichier de
|
||||
* la constante globale MAIN_DEBUG existe et vaut 1
|
||||
*/
|
||||
/*!
|
||||
\brief fonction qui permet d'envoyer les infos dans un fichier de log
|
||||
\param str chaine a mettre dans le fichier
|
||||
\param log nom du fichier de log
|
||||
\remarks cette fonction ne marchera qui si la constante MAIN_DEBUG = 1
|
||||
*/
|
||||
|
||||
function logfile($str,$log="/var/log/dolibarr/dolibarr.log")
|
||||
{
|
||||
if (defined("MAIN_DEBUG") && MAIN_DEBUG ==1)
|
||||
@ -1062,14 +1213,18 @@ function logfile($str,$log="/var/log/dolibarr/dolibarr.log")
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Fonctions reprise sur spip
|
||||
* http://www.uzine.net/spip/
|
||||
*/
|
||||
/*!
|
||||
\brief fonction pour créer un mot de passe aléatoire
|
||||
\param longueur longueur du mot de passe
|
||||
\param sel donnée aléatoire
|
||||
\remarks la longueur est fixée a 8 par défaut
|
||||
\remarks la fonction a été prise sur http://www.uzine.net/spip
|
||||
*/
|
||||
|
||||
function creer_pass_aleatoire($longueur = 8, $sel = "") {
|
||||
$seed = (double) (microtime() + 1) * time();
|
||||
srand($seed);
|
||||
|
||||
|
||||
for ($i = 0; $i < $longueur; $i++) {
|
||||
if (!$s) {
|
||||
if (!$s) $s = rand();
|
||||
@ -1088,14 +1243,14 @@ function creer_pass_aleatoire($longueur = 8, $sel = "") {
|
||||
return $pass;
|
||||
}
|
||||
|
||||
/*
|
||||
* Fonctions reprise sur spip
|
||||
* http://www.uzine.net/spip/
|
||||
*/
|
||||
/*!
|
||||
\brief fonction pour initialiser sel
|
||||
\remarks la fonction a été prise sur http://www.uzine.net/spip
|
||||
*/
|
||||
|
||||
function initialiser_sel() {
|
||||
global $htsalt;
|
||||
|
||||
|
||||
$htsalt = '$1$'.creer_pass_aleatoire();
|
||||
}
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
/*! \file mysql.lib.php
|
||||
\brief Classes permettant de gérér la database de dolibarr.
|
||||
\brief Classe permettant de gérér la database de dolibarr.
|
||||
\author Fabien Seisen
|
||||
\author Rodolphe Quiedeville.
|
||||
\author Laurent Destailleur.
|
||||
@ -32,6 +32,12 @@
|
||||
Ensemble des fonctions permettant de gérer la database de dolibarr.
|
||||
*/
|
||||
|
||||
/*! \class DoliDb
|
||||
\brief Classe permettant de gérér la database de dolibarr
|
||||
|
||||
Ensemble des fonctions permettant de gérer la database de dolibarr
|
||||
*/
|
||||
|
||||
class DoliDb {
|
||||
var $db, $results, $ok, $connected, $database_selected;
|
||||
|
||||
@ -48,7 +54,7 @@ class DoliDb {
|
||||
\param name nom de la database
|
||||
*/
|
||||
|
||||
Function DoliDb($type = 'mysql', $host = '', $user = '', $pass = '', $name = '')
|
||||
function DoliDb($type = 'mysql', $host = '', $user = '', $pass = '', $name = '')
|
||||
|
||||
// Se connecte au serveur et éventuellement à une base (si spécifié)
|
||||
// Renvoie 1 en cas de succès, 0 sinon
|
||||
@ -127,20 +133,20 @@ class DoliDb {
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function select_db($database)
|
||||
function select_db($database)
|
||||
{
|
||||
return mysql_select_db($database, $this->db);
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief connection vers une database.
|
||||
\param host addresse de la base de données
|
||||
\param login nom de l'utilisateur autorisé
|
||||
\param pass mot de passe
|
||||
\param host addresse de la base de données
|
||||
\param login nom de l'utilisateur autorisé
|
||||
\param passwd mot de passe
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function connect($host, $login, $passwd)
|
||||
function connect($host, $login, $passwd)
|
||||
{
|
||||
$this->db = @mysql_connect($host, $login, $passwd);
|
||||
//print "Resultat fonction connect: ".$this->db;
|
||||
@ -153,7 +159,7 @@ class DoliDb {
|
||||
\return result resultat 1 pour ok, 0 pour non ok
|
||||
*/
|
||||
|
||||
Function create_db($database)
|
||||
function create_db($database)
|
||||
{
|
||||
if (mysql_create_db ($database, $this->db))
|
||||
{
|
||||
@ -170,7 +176,7 @@ class DoliDb {
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function clone()
|
||||
function clone()
|
||||
{
|
||||
$db2 = new DoliDb("", "", "", "", "");
|
||||
$db2->db = $this->db;
|
||||
@ -179,13 +185,13 @@ class DoliDb {
|
||||
|
||||
/*!
|
||||
\brief ouverture d'une connection vers une database.
|
||||
\param host addresse de la base de données
|
||||
\param login nom de l'utilisateur autorisé
|
||||
\param pass mot de passe
|
||||
\param host addresse de la base de données
|
||||
\param login nom de l'utilisateur autorisé
|
||||
\param passwd mot de passe
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function pconnect($host, $login, $passwd)
|
||||
function pconnect($host, $login, $passwd)
|
||||
{
|
||||
$this->db = mysql_pconnect($host, $login, $passwd);
|
||||
return $this->db;
|
||||
@ -196,7 +202,7 @@ class DoliDb {
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function close()
|
||||
function close()
|
||||
{
|
||||
return mysql_close($this->db);
|
||||
}
|
||||
@ -207,7 +213,7 @@ class DoliDb {
|
||||
\return string
|
||||
*/
|
||||
|
||||
Function begin($do=1)
|
||||
function begin($do=1)
|
||||
{
|
||||
if ($do)
|
||||
{
|
||||
@ -225,7 +231,7 @@ class DoliDb {
|
||||
\return string
|
||||
*/
|
||||
|
||||
Function commit($do=1)
|
||||
function commit($do=1)
|
||||
{
|
||||
if ($do)
|
||||
{
|
||||
@ -243,7 +249,7 @@ class DoliDb {
|
||||
\return string
|
||||
*/
|
||||
|
||||
Function rollback($do=1)
|
||||
function rollback($do=1)
|
||||
{
|
||||
if ($do)
|
||||
{
|
||||
@ -263,7 +269,7 @@ class DoliDb {
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function query($query, $limit="", $offset="")
|
||||
function query($query, $limit="", $offset="")
|
||||
{
|
||||
$query = trim($query);
|
||||
//print "<p>$query</p>\n";
|
||||
@ -277,7 +283,7 @@ class DoliDb {
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function list_tables($database)
|
||||
function list_tables($database)
|
||||
{
|
||||
$this->results = mysql_list_tables($database, $this->db);
|
||||
return $this->results;
|
||||
@ -285,12 +291,12 @@ class DoliDb {
|
||||
|
||||
/*!
|
||||
\brief renvoie les données de la requete.
|
||||
\param nb contenu de la query
|
||||
\param string nom du champ
|
||||
\param nb contenu de la query
|
||||
\param fieldname nom du champ
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function result($nb, $fieldname)
|
||||
function result($nb, $fieldname)
|
||||
{
|
||||
return mysql_result($this->results, $nb, $fieldname);
|
||||
}
|
||||
@ -300,7 +306,7 @@ class DoliDb {
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function free()
|
||||
function free()
|
||||
{
|
||||
return mysql_free_result($this->results);
|
||||
}
|
||||
@ -310,7 +316,7 @@ class DoliDb {
|
||||
\return resource
|
||||
*/
|
||||
|
||||
Function fetch_object()
|
||||
function fetch_object()
|
||||
{
|
||||
return mysql_fetch_object($this->results);
|
||||
}
|
||||
@ -322,7 +328,7 @@ class DoliDb {
|
||||
\return limit
|
||||
*/
|
||||
|
||||
Function plimit($limit=0,$offset=0)
|
||||
function plimit($limit=0,$offset=0)
|
||||
{
|
||||
if ($offset > 0)
|
||||
{
|
||||
@ -335,7 +341,7 @@ class DoliDb {
|
||||
}
|
||||
|
||||
|
||||
Function pdate($fname)
|
||||
function pdate($fname)
|
||||
{
|
||||
return "unix_timestamp($fname)";
|
||||
}
|
||||
@ -346,7 +352,7 @@ class DoliDb {
|
||||
\return date
|
||||
*/
|
||||
|
||||
Function idate($fname)
|
||||
function idate($fname)
|
||||
{
|
||||
return strftime("%Y%m%d%H%M%S",$fname);
|
||||
}
|
||||
@ -356,7 +362,7 @@ class DoliDb {
|
||||
\return array
|
||||
*/
|
||||
|
||||
Function fetch_array()
|
||||
function fetch_array()
|
||||
{
|
||||
return mysql_fetch_array($this->results);
|
||||
}
|
||||
@ -366,19 +372,16 @@ class DoliDb {
|
||||
\return array
|
||||
*/
|
||||
|
||||
Function fetch_row()
|
||||
function fetch_row()
|
||||
{
|
||||
return mysql_fetch_row($this->results);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get column information from a result and return as an object
|
||||
*
|
||||
* @access public
|
||||
* @return object
|
||||
*/
|
||||
/*!
|
||||
\brief obtient les données d'un colonne et renvoie les données sous forme d'objet.
|
||||
*/
|
||||
|
||||
Function fetch_field()
|
||||
function fetch_field()
|
||||
{
|
||||
return mysql_fetch_field($this->results);
|
||||
}
|
||||
@ -389,7 +392,7 @@ class DoliDb {
|
||||
\return int
|
||||
*/
|
||||
|
||||
Function num_rows()
|
||||
function num_rows()
|
||||
{
|
||||
return mysql_num_rows($this->results);
|
||||
}
|
||||
@ -399,7 +402,7 @@ class DoliDb {
|
||||
\return int
|
||||
*/
|
||||
|
||||
Function num_fields()
|
||||
function num_fields()
|
||||
{
|
||||
return mysql_num_fields($this->results);
|
||||
}
|
||||
@ -409,7 +412,7 @@ class DoliDb {
|
||||
\return error_text
|
||||
*/
|
||||
|
||||
Function error()
|
||||
function error()
|
||||
{
|
||||
return mysql_error($this->db);
|
||||
}
|
||||
@ -419,7 +422,7 @@ class DoliDb {
|
||||
\return error_num
|
||||
*/
|
||||
|
||||
Function errno()
|
||||
function errno()
|
||||
{
|
||||
// $ERROR_DUPLICATE=1062;
|
||||
// $ERROR_TABLEEXISTS=1050;
|
||||
@ -432,7 +435,7 @@ class DoliDb {
|
||||
\return id
|
||||
*/
|
||||
|
||||
Function last_insert_id()
|
||||
function last_insert_id()
|
||||
{
|
||||
return mysql_insert_id();
|
||||
}
|
||||
@ -442,7 +445,7 @@ class DoliDb {
|
||||
\return rows
|
||||
*/
|
||||
|
||||
Function affected_rows()
|
||||
function affected_rows()
|
||||
{
|
||||
return mysql_affected_rows();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user