debut de documentation des fonctions et classes avec phpdocumentor
@@ -0,0 +1,44 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Class Trees for Package ldap.lib</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="media/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="header_top">ldap.lib</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="header_menu">
|
||||||
|
[ <a href="classtrees_ldap.lib.html" class="menu">class tree: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex_ldap.lib.html" class="menu">index: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex.html" class="menu">all elements</a> ]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="200" class="menu">
|
||||||
|
<b>Packages:</b><br />
|
||||||
|
<a href="li_ldap.lib.html">ldap.lib</a><br />
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||||
|
|
||||||
|
<h1>Class Trees for Package ldap.lib</h1>
|
||||||
|
<div class="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:43 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Element Index</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="media/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="header_top">ldap.lib</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="header_menu">
|
||||||
|
[ <a href="classtrees_ldap.lib.html" class="menu">class tree: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex_ldap.lib.html" class="menu">index: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex.html" class="menu">all elements</a> ]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="200" class="menu">
|
||||||
|
<b>Packages:</b><br />
|
||||||
|
<a href="li_ldap.lib.html">ldap.lib</a><br />
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||||
|
|
||||||
|
<a name="top"></a>
|
||||||
|
<h1>Index of all elements</h1>
|
||||||
|
[ <a href="elementindex.html#d">d</a> ]
|
||||||
|
[ <a href="elementindex.html#l">l</a> ]
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
<a name="d"></a>
|
||||||
|
<div>
|
||||||
|
<h2>d</h2>
|
||||||
|
<dl>
|
||||||
|
<dt><b>dolibarr_ldap_bind</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind">dolibarr_ldap_bind()</a><br> bind au serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_connect</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect">dolibarr_ldap_connect()</a><br> connection au serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_getversion</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion">dolibarr_ldap_getversion()</a><br> verification de la version du serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_setversion</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion">dolibarr_ldap_setversion()</a><br> changement de la version du serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_unbind</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind">dolibarr_ldap_unbind()</a><br> unbind du serveur ldap</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<a href="elementindex.html#top">top</a><br>
|
||||||
|
<hr />
|
||||||
|
<a name="l"></a>
|
||||||
|
<div>
|
||||||
|
<h2>l</h2>
|
||||||
|
<dl>
|
||||||
|
<dt><b>ldap.lib.php</b></dt>
|
||||||
|
<dd>procedural page <a href="ldap.lib/_ldap_lib_php.html">ldap.lib.php</a></dd>
|
||||||
|
<dt><b>ldap_unacc</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functionldap_unacc">ldap_unacc()</a><br> suppression des accents d'une cha<68>ne</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<a href="elementindex.html#top">top</a><br>
|
||||||
|
<div class="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:43 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Package ldap.lib Element Index</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="media/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="header_top">ldap.lib</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="header_menu">
|
||||||
|
[ <a href="classtrees_ldap.lib.html" class="menu">class tree: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex_ldap.lib.html" class="menu">index: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex.html" class="menu">all elements</a> ]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="200" class="menu">
|
||||||
|
<b>Packages:</b><br />
|
||||||
|
<a href="li_ldap.lib.html">ldap.lib</a><br />
|
||||||
|
<br /><br />
|
||||||
|
<b>Files:</b><br />
|
||||||
|
<div class="package">
|
||||||
|
<a href="ldap.lib/_ldap_lib_php.html"> ldap.lib.php
|
||||||
|
</a><br>
|
||||||
|
</div><br />
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||||
|
|
||||||
|
<a name="top"></a>
|
||||||
|
<h1>Element index for package ldap.lib</h1>
|
||||||
|
[ <a href="elementindex_ldap.lib.html#d">d</a> ]
|
||||||
|
[ <a href="elementindex_ldap.lib.html#l">l</a> ]
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
<a name="d"></a>
|
||||||
|
<div>
|
||||||
|
<h2>d</h2>
|
||||||
|
<dl>
|
||||||
|
<dt><b>dolibarr_ldap_bind</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind">dolibarr_ldap_bind()</a><br> bind au serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_connect</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect">dolibarr_ldap_connect()</a><br> connection au serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_getversion</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion">dolibarr_ldap_getversion()</a><br> verification de la version du serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_setversion</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion">dolibarr_ldap_setversion()</a><br> changement de la version du serveur ldap</dd>
|
||||||
|
<dt><b>dolibarr_ldap_unbind</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind">dolibarr_ldap_unbind()</a><br> unbind du serveur ldap</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<a href="elementindex_ldap.lib.html#top">top</a><br>
|
||||||
|
<hr />
|
||||||
|
<a name="l"></a>
|
||||||
|
<div>
|
||||||
|
<h2>l</h2>
|
||||||
|
<dl>
|
||||||
|
<dt><b>ldap.lib.php</b></dt>
|
||||||
|
<dd>procedural page <a href="ldap.lib/_ldap_lib_php.html">ldap.lib.php</a></dd>
|
||||||
|
<dt><b>ldap_unacc</b></dt>
|
||||||
|
<dd>in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functionldap_unacc">ldap_unacc()</a><br> suppression des accents d'une cha<68>ne</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<a href="elementindex_ldap.lib.html#top">top</a><br>
|
||||||
|
<div class="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:43 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
44
doc/dev/dolibarr-phpdoc/HTMLSmartyConverter/errors.html
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>phpDocumentor Parser Errors and Warnings</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="media/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="header_top">ldap.lib</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="header_menu">
|
||||||
|
[ <a href="classtrees_ldap.lib.html" class="menu">class tree: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex_ldap.lib.html" class="menu">index: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex.html" class="menu">all elements</a> ]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="200" class="menu">
|
||||||
|
<b>Packages:</b><br />
|
||||||
|
<a href="li_ldap.lib.html">ldap.lib</a><br />
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||||
|
|
||||||
|
<a href="#Post-parsing">Post-parsing</a><br>
|
||||||
|
<div class="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:44 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
53
doc/dev/dolibarr-phpdoc/HTMLSmartyConverter/index.html
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Generated Documentation</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="media/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="header_top">ldap.lib</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="header_menu">
|
||||||
|
[ <a href="classtrees_ldap.lib.html" class="menu">class tree: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex_ldap.lib.html" class="menu">index: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex.html" class="menu">all elements</a> ]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="200" class="menu">
|
||||||
|
<b>Packages:</b><br />
|
||||||
|
<a href="li_ldap.lib.html">ldap.lib</a><br />
|
||||||
|
<br /><br />
|
||||||
|
<b>Files:</b><br />
|
||||||
|
<div class="package">
|
||||||
|
<a href="ldap.lib/_ldap_lib_php.html"> ldap.lib.php
|
||||||
|
</a><br>
|
||||||
|
</div><br />
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||||
|
|
||||||
|
<div align="center"><h1>Generated Documentation</h1></div>
|
||||||
|
<b>Welcome to ldap.lib!</b><br />
|
||||||
|
<br />
|
||||||
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.2.3</a><br />
|
||||||
|
<div class="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:43 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
@@ -0,0 +1,269 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Docs for page ldap.lib.php</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="header_top">ldap.lib</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="header_menu">
|
||||||
|
[ <a href="../classtrees_ldap.lib.html" class="menu">class tree: ldap.lib</a> ]
|
||||||
|
[ <a href="../elementindex_ldap.lib.html" class="menu">index: ldap.lib</a> ]
|
||||||
|
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="200" class="menu">
|
||||||
|
<b>Packages:</b><br />
|
||||||
|
<a href="../li_ldap.lib.html">ldap.lib</a><br />
|
||||||
|
<br /><br />
|
||||||
|
<b>Files:</b><br />
|
||||||
|
<div class="package">
|
||||||
|
<a href="../ldap.lib/_ldap_lib_php.html"> ldap.lib.php
|
||||||
|
</a><br>
|
||||||
|
</div><br />
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||||
|
|
||||||
|
<h1>Procedural File: ldap.lib.php</h1>
|
||||||
|
Source Location: /ldap.lib.php<br /><br />
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<div class="contents">
|
||||||
|
<h2>Classes:</h2>
|
||||||
|
</div><br /><br />
|
||||||
|
|
||||||
|
<h2>Page Details:</h2>
|
||||||
|
Page-level DocBlock<br /><br /><br /><br />
|
||||||
|
<h4>Tags:</h4>
|
||||||
|
<div class="tags">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td><b>version:</b> </td><td>1.9</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
<br /><br />
|
||||||
|
<br /><br />
|
||||||
|
<br />
|
||||||
|
<hr />
|
||||||
|
<a name="functiondolibarr_ldap_bind"></a>
|
||||||
|
<h3>dolibarr_ldap_bind <span class="smalllinenumber">[line 55]</span></h3>
|
||||||
|
<div class="function">
|
||||||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
|
<code>bool dolibarr_ldap_bind(
|
||||||
|
resource $ds)</code>
|
||||||
|
</td></tr></table>
|
||||||
|
</td></tr></table><br />
|
||||||
|
|
||||||
|
bind au serveur ldap<br /><br /><br /><br />
|
||||||
|
<h4>Tags:</h4>
|
||||||
|
<div class="tags">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td><b>access:</b> </td><td>public</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td class="type">resource </td>
|
||||||
|
<td><b>$ds</b> </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<a name="functiondolibarr_ldap_connect"></a>
|
||||||
|
<h3>dolibarr_ldap_connect <span class="smalllinenumber">[line 39]</span></h3>
|
||||||
|
<div class="function">
|
||||||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
|
<code>resource dolibarr_ldap_connect(
|
||||||
|
)</code>
|
||||||
|
</td></tr></table>
|
||||||
|
</td></tr></table><br />
|
||||||
|
|
||||||
|
connection au serveur ldap<br /><br /><br /><br />
|
||||||
|
<h4>Tags:</h4>
|
||||||
|
<div class="tags">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td><b>access:</b> </td><td>public</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
|
|
||||||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<a name="functiondolibarr_ldap_getversion"></a>
|
||||||
|
<h3>dolibarr_ldap_getversion <span class="smalllinenumber">[line 94]</span></h3>
|
||||||
|
<div class="function">
|
||||||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
|
<code>mixed dolibarr_ldap_getversion(
|
||||||
|
resource $ds)</code>
|
||||||
|
</td></tr></table>
|
||||||
|
</td></tr></table><br />
|
||||||
|
|
||||||
|
verification de la version du serveur ldap<br /><br /><p>cette fonction permet de verifier la version du protocole du serveur ldap</p><br /><br /><br />
|
||||||
|
<h4>Tags:</h4>
|
||||||
|
<div class="tags">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td><b>access:</b> </td><td>public</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td class="type">resource </td>
|
||||||
|
<td><b>$ds</b> </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<a name="functiondolibarr_ldap_setversion"></a>
|
||||||
|
<h3>dolibarr_ldap_setversion <span class="smalllinenumber">[line 116]</span></h3>
|
||||||
|
<div class="function">
|
||||||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
|
<code>bool dolibarr_ldap_setversion(
|
||||||
|
resource $ds, integer $version)</code>
|
||||||
|
</td></tr></table>
|
||||||
|
</td></tr></table><br />
|
||||||
|
|
||||||
|
changement de la version du serveur ldap<br /><br /><p>cette fonction permet de modifier la version du protocole du serveur ldap</p><br /><br /><br />
|
||||||
|
<h4>Tags:</h4>
|
||||||
|
<div class="tags">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td><b>access:</b> </td><td>public</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td class="type">resource </td>
|
||||||
|
<td><b>$ds</b> </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="type">integer </td>
|
||||||
|
<td><b>$version</b> </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<a name="functiondolibarr_ldap_unbind"></a>
|
||||||
|
<h3>dolibarr_ldap_unbind <span class="smalllinenumber">[line 74]</span></h3>
|
||||||
|
<div class="function">
|
||||||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
|
<code>bool dolibarr_ldap_unbind(
|
||||||
|
resource $ds)</code>
|
||||||
|
</td></tr></table>
|
||||||
|
</td></tr></table><br />
|
||||||
|
|
||||||
|
unbind du serveur ldap<br /><br /><br /><br />
|
||||||
|
<h4>Tags:</h4>
|
||||||
|
<div class="tags">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td><b>access:</b> </td><td>public</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td class="type">resource </td>
|
||||||
|
<td><b>$ds</b> </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<a name="functionldap_unacc"></a>
|
||||||
|
<h3>ldap_unacc <span class="smalllinenumber">[line 135]</span></h3>
|
||||||
|
<div class="function">
|
||||||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||||
|
<code>string ldap_unacc(
|
||||||
|
string $str)</code>
|
||||||
|
</td></tr></table>
|
||||||
|
</td></tr></table><br />
|
||||||
|
|
||||||
|
suppression des accents d'une cha<68>ne<br /><br /><p>cette fonction permet d'enlever les accents d'une chaine avant de l'envoyer au serveur ldap</p><br /><br /><br />
|
||||||
|
<h4>Tags:</h4>
|
||||||
|
<div class="tags">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td><b>access:</b> </td><td>public</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td class="type">string </td>
|
||||||
|
<td><b>$str</b> </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:43 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
53
doc/dev/dolibarr-phpdoc/HTMLSmartyConverter/li_ldap.lib.html
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Generated Documentation</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="media/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="header_top">ldap.lib</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="header_menu">
|
||||||
|
[ <a href="classtrees_ldap.lib.html" class="menu">class tree: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex_ldap.lib.html" class="menu">index: ldap.lib</a> ]
|
||||||
|
[ <a href="elementindex.html" class="menu">all elements</a> ]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="200" class="menu">
|
||||||
|
<b>Packages:</b><br />
|
||||||
|
<a href="li_ldap.lib.html">ldap.lib</a><br />
|
||||||
|
<br /><br />
|
||||||
|
<b>Files:</b><br />
|
||||||
|
<div class="package">
|
||||||
|
<a href="ldap.lib/_ldap_lib_php.html"> ldap.lib.php
|
||||||
|
</a><br>
|
||||||
|
</div><br />
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||||
|
|
||||||
|
<div align="center"><h1>Generated Documentation</h1></div>
|
||||||
|
<b>Welcome to ldap.lib!</b><br />
|
||||||
|
<br />
|
||||||
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.2.3</a><br />
|
||||||
|
<div class="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:43 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
BIN
doc/dev/dolibarr-phpdoc/HTMLSmartyConverter/media/background.png
Normal file
|
After Width: | Height: | Size: 238 B |
BIN
doc/dev/dolibarr-phpdoc/HTMLSmartyConverter/media/empty.png
Normal file
|
After Width: | Height: | Size: 206 B |
139
doc/dev/dolibarr-phpdoc/HTMLSmartyConverter/media/style.css
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
body
|
||||||
|
{
|
||||||
|
color: #000000;
|
||||||
|
background-color: #ffffff;
|
||||||
|
background-image: url("background.png");
|
||||||
|
background-repeat: repeat-y;
|
||||||
|
font-family: tahoma, verdana, arial, sans-serif;
|
||||||
|
font-size: 10pt;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a
|
||||||
|
{
|
||||||
|
color: #000099;
|
||||||
|
background-color: transparent;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover
|
||||||
|
{
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.menu
|
||||||
|
{
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
td
|
||||||
|
{
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.header_top
|
||||||
|
{
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #9999cc;
|
||||||
|
font-size: 16pt;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: right;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.header_line
|
||||||
|
{
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #333366;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.header_menu
|
||||||
|
{
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #666699;
|
||||||
|
font-size: 8pt;
|
||||||
|
text-align: right;
|
||||||
|
padding: 2px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.menu
|
||||||
|
{
|
||||||
|
padding: 2px;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.code_border
|
||||||
|
{
|
||||||
|
color: #000000;
|
||||||
|
background-color: #c0c0c0;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.code
|
||||||
|
{
|
||||||
|
color: #000000;
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.type
|
||||||
|
{
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.credit
|
||||||
|
{
|
||||||
|
font-size: 8pt;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.package
|
||||||
|
{
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tags
|
||||||
|
{
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.function
|
||||||
|
{
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.top
|
||||||
|
{
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.warning
|
||||||
|
{
|
||||||
|
color: #ff0000;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.description
|
||||||
|
{
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr
|
||||||
|
{
|
||||||
|
height: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #c0c0c0;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.smalllinenumber
|
||||||
|
{
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin-left: 0px;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Generated Documentation</title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div align="center"><h1>Generated Documentation</h1></div>
|
||||||
|
<b>Welcome to default!</b><br />
|
||||||
|
<br />
|
||||||
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.2.3</a><br />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- template designed by Marco Von Ballmoos -->
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Start of Class Data -->
|
||||||
|
<H2>
|
||||||
|
|
||||||
|
</H2>
|
||||||
|
<p class="notes" id="credit">
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:41 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a>
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- template designed by Marco Von Ballmoos -->
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<a name="top"></a>
|
||||||
|
<h2>Full index</h2>
|
||||||
|
<h3>Package indexes</h3>
|
||||||
|
<ul>
|
||||||
|
<li><a href="elementindex_ldap.lib.html">ldap.lib</a></li>
|
||||||
|
</ul>
|
||||||
|
<br />
|
||||||
|
<div class="index-letter-menu">
|
||||||
|
<a class="index-letter" href="elementindex.html#d">d</a>
|
||||||
|
<a class="index-letter" href="elementindex.html#l">l</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name="d"></a>
|
||||||
|
<div class="index-letter-section">
|
||||||
|
<div style="float: left" class="index-letter-title">d</div>
|
||||||
|
<div style="float: right"><a href="#top">top</a></div>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
</div>
|
||||||
|
<dl>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_bind</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind">dolibarr_ldap_bind()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">bind au serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_connect</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect">dolibarr_ldap_connect()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">connection au serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_getversion</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion">dolibarr_ldap_getversion()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">verification de la version du serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_setversion</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion">dolibarr_ldap_setversion()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">changement de la version du serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_unbind</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind">dolibarr_ldap_unbind()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">unbind du serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a name="l"></a>
|
||||||
|
<div class="index-letter-section">
|
||||||
|
<div style="float: left" class="index-letter-title">l</div>
|
||||||
|
<div style="float: right"><a href="#top">top</a></div>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
</div>
|
||||||
|
<dl>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="include-title">ldap.lib.php</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html">ldap.lib.php</a> in ldap.lib.php</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">ldap_unacc</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functionldap_unacc">ldap_unacc()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">suppression des accents d'une cha<68>ne</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<div class="index-letter-menu">
|
||||||
|
<a class="index-letter" href="elementindex.html#d">d</a>
|
||||||
|
<a class="index-letter" href="elementindex.html#l">l</a>
|
||||||
|
</div> </body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- template designed by Marco Von Ballmoos -->
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<a name="top"></a>
|
||||||
|
<h2>[ldap.lib] element index</h2>
|
||||||
|
<a href="elementindex.html">All elements</a>
|
||||||
|
<br />
|
||||||
|
<div class="index-letter-menu">
|
||||||
|
<a class="index-letter" href="elementindex_ldap.lib.html#d">d</a>
|
||||||
|
<a class="index-letter" href="elementindex_ldap.lib.html#l">l</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name="d"></a>
|
||||||
|
<div class="index-letter-section">
|
||||||
|
<div style="float: left" class="index-letter-title">d</div>
|
||||||
|
<div style="float: right"><a href="#top">top</a></div>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
</div>
|
||||||
|
<dl>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_bind</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind">dolibarr_ldap_bind()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">bind au serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_connect</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect">dolibarr_ldap_connect()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">connection au serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_getversion</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion">dolibarr_ldap_getversion()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">verification de la version du serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_setversion</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion">dolibarr_ldap_setversion()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">changement de la version du serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">dolibarr_ldap_unbind</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind">dolibarr_ldap_unbind()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">unbind du serveur ldap</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<a name="l"></a>
|
||||||
|
<div class="index-letter-section">
|
||||||
|
<div style="float: left" class="index-letter-title">l</div>
|
||||||
|
<div style="float: right"><a href="#top">top</a></div>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
</div>
|
||||||
|
<dl>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="include-title">ldap.lib.php</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html">ldap.lib.php</a> in ldap.lib.php</div>
|
||||||
|
</dd>
|
||||||
|
<dt class="field">
|
||||||
|
<span class="method-title">ldap_unacc</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="index-item-body">
|
||||||
|
<div class="index-item-details"><a href="ldap.lib/_ldap_lib_php.html#functionldap_unacc">ldap_unacc()</a> in ldap.lib.php</div>
|
||||||
|
<div class="index-item-description">suppression des accents d'une cha<68>ne</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<div class="index-letter-menu">
|
||||||
|
<a class="index-letter" href="elementindex_ldap.lib.html#d">d</a>
|
||||||
|
<a class="index-letter" href="elementindex_ldap.lib.html#l">l</a>
|
||||||
|
</div> </body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- template designed by Marco Von Ballmoos -->
|
||||||
|
<title>phpDocumentor Parser Errors and Warnings</title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<a href="#Post-parsing">Post-parsing</a><br>
|
||||||
|
<p class="notes" id="credit">
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:41 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a>
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by phpDocumentor on Sat, 19 Jun 2004 01:21:40 +0200 -->
|
||||||
|
<title>Generated Documentation</title>
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<FRAMESET rows='100,*'>
|
||||||
|
<FRAME src='packages.html' name='left_top' frameborder="1" bordercolor="#999999">
|
||||||
|
<FRAMESET cols='25%,*'>
|
||||||
|
<FRAME src='li_ldap.lib.html' name='left_bottom' frameborder="1" bordercolor="#999999">
|
||||||
|
<FRAME src='blank.html' name='right' frameborder="1" bordercolor="#999999">
|
||||||
|
</FRAMESET>
|
||||||
|
<NOFRAMES>
|
||||||
|
<H2>Frame Alert</H2>
|
||||||
|
<P>This document is designed to be viewed using the frames feature.
|
||||||
|
If you see this message, you are using a non-frame-capable web client.</P>
|
||||||
|
</NOFRAMES>
|
||||||
|
</FRAMESET>
|
||||||
|
</HTML>
|
||||||
@@ -0,0 +1,225 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- template designed by Marco Von Ballmoos -->
|
||||||
|
<title>Docs for page ldap.lib.php</title>
|
||||||
|
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="page-body">
|
||||||
|
<h2 class="file-name">/ldap.lib.php</h2>
|
||||||
|
|
||||||
|
<a name="sec-description"></a>
|
||||||
|
<div class="info-box">
|
||||||
|
<div class="info-box-title">Description</div>
|
||||||
|
<div class="nav-bar">
|
||||||
|
<span class="disabled">Description</span> |
|
||||||
|
<a href="#sec-functions">Functions</a>
|
||||||
|
</div>
|
||||||
|
<div class="info-box-body">
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<p class="short-description">Page-level DocBlock</p>
|
||||||
|
<ul class="tags">
|
||||||
|
<li><span class="field">version:</span> 1.9</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="sec-functions"></a>
|
||||||
|
<div class="info-box">
|
||||||
|
<div class="info-box-title">Functions</div>
|
||||||
|
<div class="nav-bar">
|
||||||
|
<a href="#sec-description">Description</a> |
|
||||||
|
<span class="disabled">Functions</span>
|
||||||
|
</div>
|
||||||
|
<div class="info-box-body">
|
||||||
|
<a name="functiondolibarr_ldap_bind" id="functiondolibarr_ldap_bind"><!-- --></a>
|
||||||
|
<div class="evenrow">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span class="method-title">dolibarr_ldap_bind</span> (line <span class="line-number">55</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<p class="short-description">bind au serveur ldap</p>
|
||||||
|
<ul class="tags">
|
||||||
|
<li><span class="field">access:</span> public</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="method-signature">
|
||||||
|
<span class="method-result">bool</span>
|
||||||
|
<span class="method-name">
|
||||||
|
dolibarr_ldap_bind
|
||||||
|
</span>
|
||||||
|
(<span class="var-type">resource</span> <span class="var-name">$ds</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul class="parameters">
|
||||||
|
<li>
|
||||||
|
<span class="var-type">resource</span>
|
||||||
|
<span class="var-name">$ds</span> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_connect" id="functiondolibarr_ldap_connect"><!-- --></a>
|
||||||
|
<div class="oddrow">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span class="method-title">dolibarr_ldap_connect</span> (line <span class="line-number">39</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<p class="short-description">connection au serveur ldap</p>
|
||||||
|
<ul class="tags">
|
||||||
|
<li><span class="field">access:</span> public</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="method-signature">
|
||||||
|
<span class="method-result">resource</span>
|
||||||
|
<span class="method-name">
|
||||||
|
dolibarr_ldap_connect
|
||||||
|
</span>
|
||||||
|
()
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_getversion" id="functiondolibarr_ldap_getversion"><!-- --></a>
|
||||||
|
<div class="evenrow">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span class="method-title">dolibarr_ldap_getversion</span> (line <span class="line-number">94</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<p class="short-description">verification de la version du serveur ldap</p>
|
||||||
|
<p class="description"><p>cette fonction permet de verifier la version du protocole du serveur ldap</p></p>
|
||||||
|
<ul class="tags">
|
||||||
|
<li><span class="field">access:</span> public</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="method-signature">
|
||||||
|
<span class="method-result">mixed</span>
|
||||||
|
<span class="method-name">
|
||||||
|
dolibarr_ldap_getversion
|
||||||
|
</span>
|
||||||
|
(<span class="var-type">resource</span> <span class="var-name">$ds</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul class="parameters">
|
||||||
|
<li>
|
||||||
|
<span class="var-type">resource</span>
|
||||||
|
<span class="var-name">$ds</span> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_setversion" id="functiondolibarr_ldap_setversion"><!-- --></a>
|
||||||
|
<div class="oddrow">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span class="method-title">dolibarr_ldap_setversion</span> (line <span class="line-number">116</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<p class="short-description">changement de la version du serveur ldap</p>
|
||||||
|
<p class="description"><p>cette fonction permet de modifier la version du protocole du serveur ldap</p></p>
|
||||||
|
<ul class="tags">
|
||||||
|
<li><span class="field">access:</span> public</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="method-signature">
|
||||||
|
<span class="method-result">bool</span>
|
||||||
|
<span class="method-name">
|
||||||
|
dolibarr_ldap_setversion
|
||||||
|
</span>
|
||||||
|
(<span class="var-type">resource</span> <span class="var-name">$ds</span>, <span class="var-type">integer</span> <span class="var-name">$version</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul class="parameters">
|
||||||
|
<li>
|
||||||
|
<span class="var-type">resource</span>
|
||||||
|
<span class="var-name">$ds</span> </li>
|
||||||
|
<li>
|
||||||
|
<span class="var-type">integer</span>
|
||||||
|
<span class="var-name">$version</span> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_unbind" id="functiondolibarr_ldap_unbind"><!-- --></a>
|
||||||
|
<div class="evenrow">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span class="method-title">dolibarr_ldap_unbind</span> (line <span class="line-number">74</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<p class="short-description">unbind du serveur ldap</p>
|
||||||
|
<ul class="tags">
|
||||||
|
<li><span class="field">access:</span> public</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="method-signature">
|
||||||
|
<span class="method-result">bool</span>
|
||||||
|
<span class="method-name">
|
||||||
|
dolibarr_ldap_unbind
|
||||||
|
</span>
|
||||||
|
(<span class="var-type">resource</span> <span class="var-name">$ds</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul class="parameters">
|
||||||
|
<li>
|
||||||
|
<span class="var-type">resource</span>
|
||||||
|
<span class="var-name">$ds</span> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<a name="functionldap_unacc" id="functionldap_unacc"><!-- --></a>
|
||||||
|
<div class="oddrow">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span class="method-title">ldap_unacc</span> (line <span class="line-number">135</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<p class="short-description">suppression des accents d'une cha<68>ne</p>
|
||||||
|
<p class="description"><p>cette fonction permet d'enlever les accents d'une chaine avant de l'envoyer au serveur ldap</p></p>
|
||||||
|
<ul class="tags">
|
||||||
|
<li><span class="field">access:</span> public</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="method-signature">
|
||||||
|
<span class="method-result">string</span>
|
||||||
|
<span class="method-name">
|
||||||
|
ldap_unacc
|
||||||
|
</span>
|
||||||
|
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul class="parameters">
|
||||||
|
<li>
|
||||||
|
<span class="var-type">string</span>
|
||||||
|
<span class="var-name">$str</span> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="notes" id="credit">
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:41 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a>
|
||||||
|
</p>
|
||||||
|
</div></body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- template designed by Marco Von Ballmoos -->
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="package-title">ldap.lib</div>
|
||||||
|
<div class="package-details">
|
||||||
|
|
||||||
|
<dl class="tree">
|
||||||
|
|
||||||
|
<dt class="folder-title">Description</dt>
|
||||||
|
<dd>
|
||||||
|
<a href='classtrees_ldap.lib.html' target='right'>Class trees</a><br />
|
||||||
|
<a href='elementindex_ldap.lib.html' target='right'>Index of elements</a><br />
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="folder-title">Functions</dt>
|
||||||
|
<dd><a href='ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind' target='right'>dolibarr_ldap_bind</a></dd>
|
||||||
|
<dd><a href='ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect' target='right'>dolibarr_ldap_connect</a></dd>
|
||||||
|
<dd><a href='ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion' target='right'>dolibarr_ldap_getversion</a></dd>
|
||||||
|
<dd><a href='ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion' target='right'>dolibarr_ldap_setversion</a></dd>
|
||||||
|
<dd><a href='ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind' target='right'>dolibarr_ldap_unbind</a></dd>
|
||||||
|
<dd><a href='ldap.lib/_ldap_lib_php.html#functionldap_unacc' target='right'>ldap_unacc</a></dd>
|
||||||
|
<dt class="folder-title">Files</dt>
|
||||||
|
<dd><a href='ldap.lib/_ldap_lib_php.html' target='right'>ldap.lib.php</a></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<p class="notes"><a href="http://www.phpdoc.org" target="_blank">phpDocumentor v <span class="field">1.2.3</span></a></p>
|
||||||
|
</BODY>
|
||||||
|
</HTML>
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
body
|
||||||
|
{
|
||||||
|
background-color: #CCCCFF;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Banner (top bar) classes */
|
||||||
|
|
||||||
|
.banner { }
|
||||||
|
|
||||||
|
.banner-menu
|
||||||
|
{
|
||||||
|
clear: both;
|
||||||
|
padding: .5em;
|
||||||
|
border-top: 2px solid #6666AA;
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner-title
|
||||||
|
{
|
||||||
|
text-align: right;
|
||||||
|
font-size: 20pt;
|
||||||
|
font-weight: bold;
|
||||||
|
margin: .2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.package-selector
|
||||||
|
{
|
||||||
|
background-color: #AAAADD;
|
||||||
|
border: 1px solid black;
|
||||||
|
color: yellow;
|
||||||
|
}
|
||||||
@@ -0,0 +1,134 @@
|
|||||||
|
a { color: #336699; text-decoration: none; }
|
||||||
|
a:hover { color: #6699CC; text-decoration: underline; }
|
||||||
|
a:active { color: #6699CC; text-decoration: underline; }
|
||||||
|
|
||||||
|
body { background : #FFFFFF; }
|
||||||
|
body, table { font-family: Georgia, Times New Roman, Times, serif; font-size: 10pt }
|
||||||
|
p, li { line-height: 140% }
|
||||||
|
a img { border: 0px; }
|
||||||
|
dd { margin-left: 0px; padding-left: 1em; }
|
||||||
|
|
||||||
|
/* Page layout/boxes */
|
||||||
|
|
||||||
|
.info-box {}
|
||||||
|
.info-box-title { margin: 1em 0em 0em 0em; padding: .25em; font-weight: normal; font-size: 14pt; border: 2px solid #999999; background-color: #CCCCFF }
|
||||||
|
.info-box-body { border: 1px solid #999999; padding: .5em; }
|
||||||
|
.nav-bar { font-size: 8pt; white-space: nowrap; text-align: right; padding: .2em; margin: 0em 0em 1em 0em; }
|
||||||
|
|
||||||
|
.oddrow { background-color: #F8F8F8; border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em}
|
||||||
|
.evenrow { border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em}
|
||||||
|
|
||||||
|
.page-body { max-width: 800px; margin: auto; }
|
||||||
|
.tree dl { margin: 0px }
|
||||||
|
|
||||||
|
/* Index formatting classes */
|
||||||
|
|
||||||
|
.index-item-body { margin-top: .5em; margin-bottom: .5em}
|
||||||
|
.index-item-description { margin-top: .25em }
|
||||||
|
.index-item-details { font-weight: normal; font-style: italic; font-size: 8pt }
|
||||||
|
.index-letter-section { background-color: #EEEEEE; border: 1px dotted #999999; padding: .5em; margin-bottom: 1em}
|
||||||
|
.index-letter-title { font-size: 12pt; font-weight: bold }
|
||||||
|
.index-letter-menu { text-align: center; margin: 1em }
|
||||||
|
.index-letter { font-size: 12pt }
|
||||||
|
|
||||||
|
/* Docbook classes */
|
||||||
|
|
||||||
|
.description {}
|
||||||
|
.short-description { font-weight: bold; color: #666666; }
|
||||||
|
.tags { padding-left: 0em; margin-left: 3em; color: #666666; list-style-type: square; }
|
||||||
|
.parameters { padding-left: 0em; margin-left: 3em; font-style: italic; list-style-type: square; }
|
||||||
|
.redefinitions { font-size: 8pt; padding-left: 0em; margin-left: 2em; }
|
||||||
|
.package { }
|
||||||
|
.package-title { font-weight: bold; font-size: 14pt; border-bottom: 1px solid black }
|
||||||
|
.package-details { font-size: 85%; }
|
||||||
|
.sub-package { font-weight: bold; font-size: 120% }
|
||||||
|
.tutorial { border-width: thin; border-color: #0066ff }
|
||||||
|
.tutorial-nav-box { width: 100%; border: 1px solid #999999; background-color: #F8F8F8; }
|
||||||
|
.nav-button-disabled { color: #999999; }
|
||||||
|
.nav-button:active,
|
||||||
|
.nav-button:focus,
|
||||||
|
.nav-button:hover { background-color: #DDDDDD; outline: 1px solid #999999; text-decoration: none }
|
||||||
|
.folder-title { font-style: italic }
|
||||||
|
|
||||||
|
/* Generic formatting */
|
||||||
|
|
||||||
|
.field { font-weight: bold; }
|
||||||
|
.detail { font-size: 8pt; }
|
||||||
|
.notes { font-style: italic; font-size: 8pt; }
|
||||||
|
.separator { background-color: #999999; height: 2px; }
|
||||||
|
.warning { color: #FF6600; }
|
||||||
|
.disabled { font-style: italic; color: #999999; }
|
||||||
|
|
||||||
|
/* Code elements */
|
||||||
|
|
||||||
|
.line-number { }
|
||||||
|
|
||||||
|
.class-table { width: 100%; }
|
||||||
|
.class-table-header { border-bottom: 1px dotted #666666; text-align: left}
|
||||||
|
.class-name { color: #000000; font-weight: bold; }
|
||||||
|
|
||||||
|
.method-summary { padding-left: 1em; font-size: 8pt }
|
||||||
|
.method-header { }
|
||||||
|
.method-definition { margin-bottom: .3em }
|
||||||
|
.method-title { font-weight: bold; }
|
||||||
|
.method-name { font-weight: bold; }
|
||||||
|
.method-signature { font-size: 85%; color: #666666; margin: .5em 0em }
|
||||||
|
.method-result { font-style: italic; }
|
||||||
|
|
||||||
|
.var-summary { padding-left: 1em; font-size: 8pt; }
|
||||||
|
.var-header { }
|
||||||
|
.var-title { margin-bottom: .3em }
|
||||||
|
.var-type { font-style: italic; }
|
||||||
|
.var-name { font-weight: bold; }
|
||||||
|
.var-default {}
|
||||||
|
.var-description { font-weight: normal; color: #000000; }
|
||||||
|
|
||||||
|
.include-title { }
|
||||||
|
.include-type { font-style: italic; }
|
||||||
|
.include-name { font-weight: bold; }
|
||||||
|
|
||||||
|
.const-title { }
|
||||||
|
.const-name { font-weight: bold; }
|
||||||
|
|
||||||
|
/* Syntax highlighting */
|
||||||
|
|
||||||
|
.src-code { border: 1px solid #336699; padding: 1em; background-color: #EEEEEE; }
|
||||||
|
|
||||||
|
.src-comm { color: green; }
|
||||||
|
.src-id { }
|
||||||
|
.src-inc { color: #0000FF; }
|
||||||
|
.src-key { color: #0000FF; }
|
||||||
|
.src-num { color: #CC0000; }
|
||||||
|
.src-str { color: #66cccc; }
|
||||||
|
.src-sym { font-weight: bold; }
|
||||||
|
.src-var { }
|
||||||
|
|
||||||
|
.src-php { font-weight: bold; }
|
||||||
|
|
||||||
|
.src-doc { color: #009999 }
|
||||||
|
.src-doc-close-template { color: #0000FF }
|
||||||
|
.src-doc-coretag { color: #0099FF; font-weight: bold }
|
||||||
|
.src-doc-inlinetag { color: #0099FF }
|
||||||
|
.src-doc-internal { color: #6699cc }
|
||||||
|
.src-doc-tag { color: #0080CC }
|
||||||
|
.src-doc-template { color: #0000FF }
|
||||||
|
.src-doc-type { font-style: italic }
|
||||||
|
.src-doc-var { font-style: italic }
|
||||||
|
|
||||||
|
/* tutorial */
|
||||||
|
|
||||||
|
.authors { }
|
||||||
|
.author { font-style: italic; font-weight: bold }
|
||||||
|
.author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal }
|
||||||
|
.example { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em }
|
||||||
|
.listing { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; white-space: nowrap }
|
||||||
|
.release-info { font-size: 85%; font-style: italic; margin: 1em 0em }
|
||||||
|
.ref-title-box { }
|
||||||
|
.ref-title { }
|
||||||
|
.ref-purpose { font-style: italic; color: #666666 }
|
||||||
|
.ref-synopsis { }
|
||||||
|
.title { font-weight: bold; margin: 1em 0em 0em 0em; padding: .25em; border: 2px solid #999999; background-color: #CCCCFF }
|
||||||
|
.cmd-synopsis { margin: 1em 0em }
|
||||||
|
.cmd-title { font-weight: bold }
|
||||||
|
.toc { margin-left: 2em; padding-left: 0em }
|
||||||
|
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- template designed by Marco Von Ballmoos -->
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<link rel="stylesheet" href="media/banner.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="banner">
|
||||||
|
<div class="banner-title">ldap.lib</div>
|
||||||
|
<div class="banner-menu">
|
||||||
|
<table cellpadding="0" cellspacing="0" style="width: 100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
<td style="width: 2em"> </td>
|
||||||
|
<td style="text-align: right">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Generated Documentation</title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div align="center"><h1>Generated Documentation</h1></div>
|
||||||
|
<b>Welcome to default!</b><br />
|
||||||
|
<br />
|
||||||
|
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.2.3</a><br />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||||||
|
<body bgcolor="#ffffff" >
|
||||||
|
<!-- Start of Class Data -->
|
||||||
|
<H2>
|
||||||
|
|
||||||
|
</H2>
|
||||||
|
<div id="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:42 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||||||
|
<body bgcolor="#ffffff" ><a name="top"></a>
|
||||||
|
<h1>Index of All Elements</h1>
|
||||||
|
<a name="top"> </a>
|
||||||
|
<strong>Indexes by package:</strong><br />
|
||||||
|
<ul>
|
||||||
|
<li><a href="elementindex_ldap.lib.html">ldap.lib</a></li>
|
||||||
|
</ul>
|
||||||
|
<br />
|
||||||
|
<a href="elementindex.html#d">d</a>
|
||||||
|
<a href="elementindex.html#l">l</a>
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
<table border="0" width="100%">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><strong>d</strong></td>
|
||||||
|
<td align='right'><a name="d"> </a>
|
||||||
|
<a href="#top">top</a><br /></td>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_bind</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind">dolibarr_ldap_bind()</a><br> bind au serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_connect</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect">dolibarr_ldap_connect()</a><br> connection au serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_getversion</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion">dolibarr_ldap_getversion()</a><br> verification de la version du serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_setversion</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion">dolibarr_ldap_setversion()</a><br> changement de la version du serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_unbind</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind">dolibarr_ldap_unbind()</a><br> unbind du serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><strong>l</strong></td>
|
||||||
|
<td align='right'><a name="l"> </a>
|
||||||
|
<a href="#top">top</a><br /></td>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>ldap.lib.php</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">procedural page <a href="ldap.lib/_ldap_lib_php.html">ldap.lib.php</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>ldap_unacc</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functionldap_unacc">ldap_unacc()</a><br> suppression des accents d'une cha<68>ne</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table></body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||||||
|
<body bgcolor="#ffffff" ><a name="top"></a>
|
||||||
|
<h2>Element Index, Package ldap.lib</h2>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
<a href="elementindex.html"><strong>Index of all elements</strong></a>
|
||||||
|
<br />
|
||||||
|
<a href="elementindex_ldap.lib.html#d">d</a>
|
||||||
|
<a href="elementindex_ldap.lib.html#l">l</a>
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
<table border="0" width="100%">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><strong>d</strong></td>
|
||||||
|
<td align='right'><a name="d"> </a>
|
||||||
|
<a href="#top">top</a><br /></td>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_bind</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind">dolibarr_ldap_bind()</a><br> bind au serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_connect</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect">dolibarr_ldap_connect()</a><br> connection au serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_getversion</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion">dolibarr_ldap_getversion()</a><br> verification de la version du serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_setversion</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion">dolibarr_ldap_setversion()</a><br> changement de la version du serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>dolibarr_ldap_unbind</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind">dolibarr_ldap_unbind()</a><br> unbind du serveur ldap</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><strong>l</strong></td>
|
||||||
|
<td align='right'><a name="l"> </a>
|
||||||
|
<a href="#top">top</a><br /></td>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>ldap.lib.php</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">procedural page <a href="ldap.lib/_ldap_lib_php.html">ldap.lib.php</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <strong>ldap_unacc</strong></td>
|
||||||
|
<td width="100%" align="left" valign="top">in file ldap.lib.php, function <a href="ldap.lib/_ldap_lib_php.html#functionldap_unacc">ldap_unacc()</a><br> suppression des accents d'une cha<68>ne</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table></body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>phpDocumentor Parser Errors and Warnings</title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||||||
|
<body bgcolor="#ffffff" ><a href="#Post-parsing">Post-parsing</a><br>
|
||||||
|
<div id="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:42 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<!-- Generated by phpDocumentor on Sat, 19 Jun 2004 01:21:42 +0200 -->
|
||||||
|
<title>Generated Documentation</title>
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<FRAMESET cols='220,*'>
|
||||||
|
<FRAMESET rows='220,*'>
|
||||||
|
<FRAME src='packages.html' name='left_top'>
|
||||||
|
<FRAME src='li_ldap.lib.html' name='left_bottom'>
|
||||||
|
</FRAMESET>
|
||||||
|
<FRAME src='blank.html' name='right'>
|
||||||
|
<NOFRAMES>
|
||||||
|
<H2>Frame Alert</H2>
|
||||||
|
<P>This document is designed to be viewed using the frames feature.
|
||||||
|
If you see this message, you are using a non-frame-capable web client.</P>
|
||||||
|
</NOFRAMES>
|
||||||
|
</FRAMESET>
|
||||||
|
</HTML>
|
||||||
@@ -0,0 +1,282 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>Docs for page ldap.lib.php</title>
|
||||||
|
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||||
|
<script src="../media/lib/classTree.js"></script>
|
||||||
|
<link id="webfx-tab-style-sheet" type="text/css" rel="stylesheet" href="../media/lib/tab.webfx.css" />
|
||||||
|
<script type="text/javascript" src="../media/lib/tabpane.js"></script>
|
||||||
|
<script language="javascript" type="text/javascript" src="../media/lib/ua.js"></script>
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
|
var imgPlus = new Image();
|
||||||
|
var imgMinus = new Image();
|
||||||
|
imgPlus.src = "../media/images/plus.gif";
|
||||||
|
imgMinus.src = "../media/images/minus.gif";
|
||||||
|
|
||||||
|
function showNode(Node){
|
||||||
|
switch(navigator.family){
|
||||||
|
case 'nn4':
|
||||||
|
// Nav 4.x code fork...
|
||||||
|
var oTable = document.layers["span" + Node];
|
||||||
|
var oImg = document.layers["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'ie4':
|
||||||
|
// IE 4/5 code fork...
|
||||||
|
var oTable = document.all["span" + Node];
|
||||||
|
var oImg = document.all["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'gecko':
|
||||||
|
// Standards Compliant code fork...
|
||||||
|
var oTable = document.getElementById("span" + Node);
|
||||||
|
var oImg = document.getElementById("img" + Node);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
oImg.src = imgMinus.src;
|
||||||
|
oTable.style.display = "block";
|
||||||
|
}
|
||||||
|
|
||||||
|
function hideNode(Node){
|
||||||
|
switch(navigator.family){
|
||||||
|
case 'nn4':
|
||||||
|
// Nav 4.x code fork...
|
||||||
|
var oTable = document.layers["span" + Node];
|
||||||
|
var oImg = document.layers["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'ie4':
|
||||||
|
// IE 4/5 code fork...
|
||||||
|
var oTable = document.all["span" + Node];
|
||||||
|
var oImg = document.all["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'gecko':
|
||||||
|
// Standards Compliant code fork...
|
||||||
|
var oTable = document.getElementById("span" + Node);
|
||||||
|
var oImg = document.getElementById("img" + Node);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
oImg.src = imgPlus.src;
|
||||||
|
oTable.style.display = "none";
|
||||||
|
}
|
||||||
|
|
||||||
|
function nodeIsVisible(Node){
|
||||||
|
switch(navigator.family){
|
||||||
|
case 'nn4':
|
||||||
|
// Nav 4.x code fork...
|
||||||
|
var oTable = document.layers["span" + Node];
|
||||||
|
break;
|
||||||
|
case 'ie4':
|
||||||
|
// IE 4/5 code fork...
|
||||||
|
var oTable = document.all["span" + Node];
|
||||||
|
break;
|
||||||
|
case 'gecko':
|
||||||
|
// Standards Compliant code fork...
|
||||||
|
var oTable = document.getElementById("span" + Node);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return (oTable && oTable.style.display == "block");
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleNodeVisibility(Node){
|
||||||
|
if (nodeIsVisible(Node)){
|
||||||
|
hideNode(Node);
|
||||||
|
}else{
|
||||||
|
showNode(Node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||||||
|
<body bgcolor="#ffffff" ><h2>File: /ldap.lib.php</h2>
|
||||||
|
<div class="tab-pane" id="tabPane1">
|
||||||
|
<script type="text/javascript">
|
||||||
|
tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ) );
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="tab-page" id="Description">
|
||||||
|
<h2 class="tab">Description</h2>
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<h5>Page-level DocBlock</h5>
|
||||||
|
<ul>
|
||||||
|
<li><strong>version:</strong> - 1.9</li>
|
||||||
|
</ul>
|
||||||
|
<!-- =========== Used Classes =========== -->
|
||||||
|
<A NAME='classes_summary'><!-- --></A>
|
||||||
|
<h3>Classes defined in this file</h3>
|
||||||
|
|
||||||
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
|
||||||
|
<THEAD>
|
||||||
|
<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR>
|
||||||
|
</THEAD>
|
||||||
|
<TBODY>
|
||||||
|
</TBODY>
|
||||||
|
</TABLE>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">tp1.addTabPage( document.getElementById( "Description" ) );</script>
|
||||||
|
<div class="tab-page" id="tabPage1">
|
||||||
|
<!-- ============ Includes DETAIL =========== -->
|
||||||
|
|
||||||
|
<h2 class="tab">Include/Require Statements</h2>
|
||||||
|
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="tab-page" id="tabPage2">
|
||||||
|
<!-- ============ GLOBAL DETAIL =========== -->
|
||||||
|
|
||||||
|
<h2 class="tab">Global Variables</h2>
|
||||||
|
|
||||||
|
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="tab-page" id="tabPage3">
|
||||||
|
<!-- ============ CONSTANT DETAIL =========== -->
|
||||||
|
|
||||||
|
<A NAME='constant_detail'></A>
|
||||||
|
<h2 class="tab">Constants</h2>
|
||||||
|
|
||||||
|
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage3" ) );</script>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="tab-page" id="tabPage4">
|
||||||
|
<!-- ============ FUNCTION DETAIL =========== -->
|
||||||
|
|
||||||
|
<h2 class="tab">Functions</h2>
|
||||||
|
|
||||||
|
<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage4" ) );</script>
|
||||||
|
|
||||||
|
<a name="functiondolibarr_ldap_bind" id="functiondolibarr_ldap_bind"><!-- --></a>
|
||||||
|
<div style="background='#ffffff'">
|
||||||
|
<h4>
|
||||||
|
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">dolibarr_ldap_bind</strong> (line <span class="linenumber">55</span>)
|
||||||
|
</h4>
|
||||||
|
<h4><i>bool</i> <strong>dolibarr_ldap_bind(
|
||||||
|
resource $ds)</strong></h4>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<h5>bind au serveur ldap</h5>
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>resource $ds</strong>: </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Info</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>access</strong> - public</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_connect" id="functiondolibarr_ldap_connect"><!-- --></a>
|
||||||
|
<div style="background='#eeeeee'">
|
||||||
|
<h4>
|
||||||
|
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">dolibarr_ldap_connect</strong> (line <span class="linenumber">39</span>)
|
||||||
|
</h4>
|
||||||
|
<h4><i>resource</i> <strong>dolibarr_ldap_connect(
|
||||||
|
)</strong></h4>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<h5>connection au serveur ldap</h5>
|
||||||
|
|
||||||
|
<h4>Info</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>access</strong> - public</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_getversion" id="functiondolibarr_ldap_getversion"><!-- --></a>
|
||||||
|
<div style="background='#ffffff'">
|
||||||
|
<h4>
|
||||||
|
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">dolibarr_ldap_getversion</strong> (line <span class="linenumber">94</span>)
|
||||||
|
</h4>
|
||||||
|
<h4><i>mixed</i> <strong>dolibarr_ldap_getversion(
|
||||||
|
resource $ds)</strong></h4>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<h5>verification de la version du serveur ldap</h5>
|
||||||
|
<div class="desc"><p>cette fonction permet de verifier la version du protocole du serveur ldap</p></div>
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>resource $ds</strong>: </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Info</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>access</strong> - public</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_setversion" id="functiondolibarr_ldap_setversion"><!-- --></a>
|
||||||
|
<div style="background='#eeeeee'">
|
||||||
|
<h4>
|
||||||
|
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">dolibarr_ldap_setversion</strong> (line <span class="linenumber">116</span>)
|
||||||
|
</h4>
|
||||||
|
<h4><i>bool</i> <strong>dolibarr_ldap_setversion(
|
||||||
|
resource $ds, integer $version)</strong></h4>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<h5>changement de la version du serveur ldap</h5>
|
||||||
|
<div class="desc"><p>cette fonction permet de modifier la version du protocole du serveur ldap</p></div>
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>resource $ds</strong>: </li>
|
||||||
|
<li><strong>integer $version</strong>: </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Info</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>access</strong> - public</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<a name="functiondolibarr_ldap_unbind" id="functiondolibarr_ldap_unbind"><!-- --></a>
|
||||||
|
<div style="background='#ffffff'">
|
||||||
|
<h4>
|
||||||
|
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">dolibarr_ldap_unbind</strong> (line <span class="linenumber">74</span>)
|
||||||
|
</h4>
|
||||||
|
<h4><i>bool</i> <strong>dolibarr_ldap_unbind(
|
||||||
|
resource $ds)</strong></h4>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<h5>unbind du serveur ldap</h5>
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>resource $ds</strong>: </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Info</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>access</strong> - public</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<a name="functionldap_unacc" id="functionldap_unacc"><!-- --></a>
|
||||||
|
<div style="background='#eeeeee'">
|
||||||
|
<h4>
|
||||||
|
<img src="../media/images/PublicMethod.gif" border="0" /> <strong class="method">ldap_unacc</strong> (line <span class="linenumber">135</span>)
|
||||||
|
</h4>
|
||||||
|
<h4><i>string</i> <strong>ldap_unacc(
|
||||||
|
string $str)</strong></h4>
|
||||||
|
|
||||||
|
<!-- ========== Info from phpDoc block ========= -->
|
||||||
|
<h5>suppression des accents d'une cha<68>ne</h5>
|
||||||
|
<div class="desc"><p>cette fonction permet d'enlever les accents d'une chaine avant de l'envoyer au serveur ldap</p></div>
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>string $str</strong>: </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Info</h4>
|
||||||
|
<ul>
|
||||||
|
<li><strong>access</strong> - public</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
//<![CDATA[
|
||||||
|
|
||||||
|
setupAllTabs();
|
||||||
|
|
||||||
|
//]]>
|
||||||
|
</script>
|
||||||
|
<div id="credit">
|
||||||
|
<hr />
|
||||||
|
Documentation generated on Sat, 19 Jun 2004 01:21:42 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,156 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<script src="media/lib/classTree.js"></script>
|
||||||
|
<link id="webfx-tab-style-sheet" type="text/css" rel="stylesheet" href="media/lib/tab.webfx.css" />
|
||||||
|
<script type="text/javascript" src="media/lib/tabpane.js"></script>
|
||||||
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
||||||
|
<script language="javascript" type="text/javascript" src="media/lib/ua.js"></script>
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
|
var imgPlus = new Image();
|
||||||
|
var imgMinus = new Image();
|
||||||
|
imgPlus.src = "media/images/plus.gif";
|
||||||
|
imgMinus.src = "media/images/minus.gif";
|
||||||
|
|
||||||
|
function showNode(Node){
|
||||||
|
switch(navigator.family){
|
||||||
|
case 'nn4':
|
||||||
|
// Nav 4.x code fork...
|
||||||
|
var oTable = document.layers["span" + Node];
|
||||||
|
var oImg = document.layers["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'ie4':
|
||||||
|
// IE 4/5 code fork...
|
||||||
|
var oTable = document.all["span" + Node];
|
||||||
|
var oImg = document.all["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'gecko':
|
||||||
|
// Standards Compliant code fork...
|
||||||
|
var oTable = document.getElementById("span" + Node);
|
||||||
|
var oImg = document.getElementById("img" + Node);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
oImg.src = imgMinus.src;
|
||||||
|
oTable.style.display = "block";
|
||||||
|
}
|
||||||
|
|
||||||
|
function hideNode(Node){
|
||||||
|
switch(navigator.family){
|
||||||
|
case 'nn4':
|
||||||
|
// Nav 4.x code fork...
|
||||||
|
var oTable = document.layers["span" + Node];
|
||||||
|
var oImg = document.layers["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'ie4':
|
||||||
|
// IE 4/5 code fork...
|
||||||
|
var oTable = document.all["span" + Node];
|
||||||
|
var oImg = document.all["img" + Node];
|
||||||
|
break;
|
||||||
|
case 'gecko':
|
||||||
|
// Standards Compliant code fork...
|
||||||
|
var oTable = document.getElementById("span" + Node);
|
||||||
|
var oImg = document.getElementById("img" + Node);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
oImg.src = imgPlus.src;
|
||||||
|
oTable.style.display = "none";
|
||||||
|
}
|
||||||
|
|
||||||
|
function nodeIsVisible(Node){
|
||||||
|
switch(navigator.family){
|
||||||
|
case 'nn4':
|
||||||
|
// Nav 4.x code fork...
|
||||||
|
var oTable = document.layers["span" + Node];
|
||||||
|
break;
|
||||||
|
case 'ie4':
|
||||||
|
// IE 4/5 code fork...
|
||||||
|
var oTable = document.all["span" + Node];
|
||||||
|
break;
|
||||||
|
case 'gecko':
|
||||||
|
// Standards Compliant code fork...
|
||||||
|
var oTable = document.getElementById("span" + Node);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return (oTable && oTable.style.display == "block");
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleNodeVisibility(Node){
|
||||||
|
if (nodeIsVisible(Node)){
|
||||||
|
hideNode(Node);
|
||||||
|
}else{
|
||||||
|
showNode(Node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||||||
|
<body bgcolor="#ffffff" topmargin="3" leftmargin="3" rightmargin="2" bottommargin="3"><h3>Navigation: ldap.lib</h3>
|
||||||
|
<script language="Javascript">
|
||||||
|
if (document.getElementById) {
|
||||||
|
var tree = new WebFXTree('Help : ldap.lib', 'blank.html');
|
||||||
|
tree.setBehavior('classic');
|
||||||
|
tree.openIcon = 'media/images/Disk.gif';
|
||||||
|
tree.icon = 'media/images/Disk.gif';
|
||||||
|
|
||||||
|
var elements = new WebFXTreeItem('Index of elements', 'elementindex_ldap.lib.html');
|
||||||
|
elements.openIcon = 'media/images/file.png';
|
||||||
|
elements.icon = 'media/images/file.png';
|
||||||
|
tree.add(elements);
|
||||||
|
|
||||||
|
var tree_function = new WebFXTreeItem('Function(s)', '');
|
||||||
|
tree_function.openIcon = 'media/images/Functions.gif';
|
||||||
|
tree_function.icon = 'media/images/Functions.gif';
|
||||||
|
var fic = new WebFXTreeItem('dolibarr_ldap_bind', 'ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_bind');
|
||||||
|
fic.openIcon = 'media/images/PublicMethod.gif';
|
||||||
|
fic.icon = 'media/images/PublicMethod.gif';
|
||||||
|
tree_function.add(fic);
|
||||||
|
var fic = new WebFXTreeItem('dolibarr_ldap_connect', 'ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_connect');
|
||||||
|
fic.openIcon = 'media/images/PublicMethod.gif';
|
||||||
|
fic.icon = 'media/images/PublicMethod.gif';
|
||||||
|
tree_function.add(fic);
|
||||||
|
var fic = new WebFXTreeItem('dolibarr_ldap_getversion', 'ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_getversion');
|
||||||
|
fic.openIcon = 'media/images/PublicMethod.gif';
|
||||||
|
fic.icon = 'media/images/PublicMethod.gif';
|
||||||
|
tree_function.add(fic);
|
||||||
|
var fic = new WebFXTreeItem('dolibarr_ldap_setversion', 'ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_setversion');
|
||||||
|
fic.openIcon = 'media/images/PublicMethod.gif';
|
||||||
|
fic.icon = 'media/images/PublicMethod.gif';
|
||||||
|
tree_function.add(fic);
|
||||||
|
var fic = new WebFXTreeItem('dolibarr_ldap_unbind', 'ldap.lib/_ldap_lib_php.html#functiondolibarr_ldap_unbind');
|
||||||
|
fic.openIcon = 'media/images/PublicMethod.gif';
|
||||||
|
fic.icon = 'media/images/PublicMethod.gif';
|
||||||
|
tree_function.add(fic);
|
||||||
|
var fic = new WebFXTreeItem('ldap_unacc', 'ldap.lib/_ldap_lib_php.html#functionldap_unacc');
|
||||||
|
fic.openIcon = 'media/images/PublicMethod.gif';
|
||||||
|
fic.icon = 'media/images/PublicMethod.gif';
|
||||||
|
tree_function.add(fic);
|
||||||
|
tree.add(tree_function);
|
||||||
|
|
||||||
|
var tree_classe = new WebFXTreeItem('Class(es)', 'classtrees_ldap.lib.html');
|
||||||
|
tree_classe.openIcon = 'media/images/classFolder.gif';
|
||||||
|
tree_classe.icon = 'media/images/classFolder.gif';
|
||||||
|
tree.add(tree_classe);
|
||||||
|
|
||||||
|
var tree_file = new WebFXTreeItem('File(s)', '');
|
||||||
|
tree_file.openIcon = 'media/images/FolderOpened.gif';
|
||||||
|
tree_file.icon = 'media/images/foldericon.png';
|
||||||
|
var file = new WebFXTreeItem('ldap.lib.php', 'ldap.lib/_ldap_lib_php.html');
|
||||||
|
file.openIcon = 'media/images/file.png';
|
||||||
|
file.icon = 'media/images/file.png';
|
||||||
|
tree_file.add(file);
|
||||||
|
tree.add(tree_file);
|
||||||
|
document.write(tree);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
<span CLASS="small"><a href="http://www.phpdoc.org" target="_blank">phpDocumentor v <b>1.2.3</b></a><br />
|
||||||
|
<br />
|
||||||
|
<i>HTML layout inspired by </i><a href="http://www.phpedit.com" target="right">PHPEdit</a></span>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 941 B |
|
After Width: | Height: | Size: 963 B |
|
After Width: | Height: | Size: 957 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 148 B |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 967 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 954 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 222 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 122 B |
|
After Width: | Height: | Size: 462 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 64 B |
|
After Width: | Height: | Size: 997 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 989 B |
|
After Width: | Height: | Size: 963 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 232 B |
|
After Width: | Height: | Size: 67 B |
|
After Width: | Height: | Size: 55 B |
@@ -0,0 +1,454 @@
|
|||||||
|
/*----------------------------------------\
|
||||||
|
| Cross Browser Tree Widget 1.1 |
|
||||||
|
|-----------------------------------------|
|
||||||
|
| Created by Emil A. Eklund (eae@eae.net) |
|
||||||
|
| For WebFX (http://webfx.eae.net/) |
|
||||||
|
|-----------------------------------------|
|
||||||
|
| This script is provided as is without |
|
||||||
|
| any warranty whatsoever. It may be used |
|
||||||
|
| free of charge for non commerical sites |
|
||||||
|
| For commerical use contact the author |
|
||||||
|
| of this script for further details. |
|
||||||
|
|-----------------------------------------|
|
||||||
|
| Created 2000-12-11 | Updated 2001-09-06 |
|
||||||
|
\----------------------------------------*/
|
||||||
|
|
||||||
|
var webFXTreeConfig = {
|
||||||
|
rootIcon : 'media/images/Class.gif',
|
||||||
|
openRootIcon : 'media/images/Class.gif',
|
||||||
|
folderIcon : 'media/images/Class.gif',
|
||||||
|
openFolderIcon : 'media/images/Class.gif',
|
||||||
|
fileIcon : 'media/images/Class.gif',
|
||||||
|
iIcon : 'media/images/I.png',
|
||||||
|
lIcon : 'media/images/L.png',
|
||||||
|
lMinusIcon : 'media/images/Lminus.png',
|
||||||
|
lPlusIcon : 'media/images/Lplus.png',
|
||||||
|
tIcon : 'media/images/T.png',
|
||||||
|
tMinusIcon : 'media/images/Tminus.png',
|
||||||
|
tPlusIcon : 'media/images/Tplus.png',
|
||||||
|
blankIcon : 'media/images/blank.png',
|
||||||
|
defaultText : 'Tree Item',
|
||||||
|
defaultAction : 'javascript:void(0);',
|
||||||
|
defaultTarget : 'right',
|
||||||
|
defaultBehavior : 'classic'
|
||||||
|
};
|
||||||
|
|
||||||
|
var webFXTreeHandler = {
|
||||||
|
idCounter : 0,
|
||||||
|
idPrefix : "webfx-tree-object-",
|
||||||
|
all : {},
|
||||||
|
behavior : null,
|
||||||
|
selected : null,
|
||||||
|
getId : function() { return this.idPrefix + this.idCounter++; },
|
||||||
|
toggle : function (oItem) { this.all[oItem.id.replace('-plus','')].toggle(); },
|
||||||
|
select : function (oItem) { this.all[oItem.id.replace('-icon','')].select(); },
|
||||||
|
focus : function (oItem) { this.all[oItem.id.replace('-anchor','')].focus(); },
|
||||||
|
blur : function (oItem) { this.all[oItem.id.replace('-anchor','')].blur(); },
|
||||||
|
keydown : function (oItem) { return this.all[oItem.id].keydown(window.event.keyCode); },
|
||||||
|
cookies : new WebFXCookie()
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WebFXCookie class
|
||||||
|
*/
|
||||||
|
|
||||||
|
function WebFXCookie() {
|
||||||
|
if (document.cookie.length) { this.cookies = ' ' + document.cookie; }
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXCookie.prototype.setCookie = function (key, value) {
|
||||||
|
document.cookie = key + "=" + escape(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXCookie.prototype.getCookie = function (key) {
|
||||||
|
if (this.cookies) {
|
||||||
|
var start = this.cookies.indexOf(' ' + key + '=');
|
||||||
|
if (start == -1) { return null; }
|
||||||
|
var end = this.cookies.indexOf(";", start);
|
||||||
|
if (end == -1) { end = this.cookies.length; }
|
||||||
|
end -= start;
|
||||||
|
var cookie = this.cookies.substr(start,end);
|
||||||
|
return unescape(cookie.substr(cookie.indexOf('=') + 1, cookie.length - cookie.indexOf('=') + 1));
|
||||||
|
}
|
||||||
|
else { return null; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WebFXTreeAbstractNode class
|
||||||
|
*/
|
||||||
|
|
||||||
|
function WebFXTreeAbstractNode(sText, sAction, sTarget) {
|
||||||
|
this.childNodes = [];
|
||||||
|
this.id = webFXTreeHandler.getId();
|
||||||
|
this.text = sText || webFXTreeConfig.defaultText;
|
||||||
|
this.action = sAction || webFXTreeConfig.defaultAction;
|
||||||
|
this.targetWindow = sTarget || webFXTreeConfig.defaultTarget;
|
||||||
|
this._last = false;
|
||||||
|
webFXTreeHandler.all[this.id] = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.add = function (node) {
|
||||||
|
node.parentNode = this;
|
||||||
|
this.childNodes[this.childNodes.length] = node;
|
||||||
|
var root = this;
|
||||||
|
if (this.childNodes.length >=2) {
|
||||||
|
this.childNodes[this.childNodes.length -2]._last = false;
|
||||||
|
}
|
||||||
|
while (root.parentNode) { root = root.parentNode; }
|
||||||
|
if (root.rendered) {
|
||||||
|
if (this.childNodes.length >= 2) {
|
||||||
|
document.getElementById(this.childNodes[this.childNodes.length -2].id + '-plus').src = ((this.childNodes[this.childNodes.length -2].folder)?webFXTreeConfig.tMinusIcon:webFXTreeConfig.tIcon);
|
||||||
|
if (this.childNodes[this.childNodes.length -2].folder) {
|
||||||
|
this.childNodes[this.childNodes.length -2].plusIcon = webFXTreeConfig.tPlusIcon;
|
||||||
|
this.childNodes[this.childNodes.length -2].minusIcon = webFXTreeConfig.tMinusIcon;
|
||||||
|
}
|
||||||
|
this.childNodes[this.childNodes.length -2]._last = false;
|
||||||
|
}
|
||||||
|
this._last = true;
|
||||||
|
var foo = this;
|
||||||
|
while (foo.parentNode) {
|
||||||
|
for (var i = 0; i < foo.parentNode.childNodes.length; i++) {
|
||||||
|
if (foo.id == foo.parentNode.childNodes[i].id) { break; }
|
||||||
|
}
|
||||||
|
if (++i == foo.parentNode.childNodes.length) { foo.parentNode._last = true; }
|
||||||
|
else { foo.parentNode._last = false; }
|
||||||
|
foo = foo.parentNode;
|
||||||
|
}
|
||||||
|
document.getElementById(this.id + '-cont').insertAdjacentHTML("beforeEnd", node.toString());
|
||||||
|
if ((!this.folder) && (!this.openIcon)) {
|
||||||
|
this.icon = webFXTreeConfig.folderIcon;
|
||||||
|
this.openIcon = webFXTreeConfig.openFolderIcon;
|
||||||
|
}
|
||||||
|
this.folder = true;
|
||||||
|
this.indent();
|
||||||
|
this.expand();
|
||||||
|
}
|
||||||
|
return node;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.toggle = function() {
|
||||||
|
if (this.folder) {
|
||||||
|
if (this.open) { this.collapse(); }
|
||||||
|
else { this.expand(); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.select = function() {
|
||||||
|
document.getElementById(this.id + '-anchor').focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.focus = function() {
|
||||||
|
webFXTreeHandler.selected = this;
|
||||||
|
if ((this.openIcon) && (webFXTreeHandler.behavior != 'classic')) { document.getElementById(this.id + '-icon').src = this.openIcon; }
|
||||||
|
document.getElementById(this.id + '-anchor').style.backgroundColor = 'highlight';
|
||||||
|
document.getElementById(this.id + '-anchor').style.color = 'highlighttext';
|
||||||
|
document.getElementById(this.id + '-anchor').focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.blur = function() {
|
||||||
|
if ((this.openIcon) && (webFXTreeHandler.behavior != 'classic')) { document.getElementById(this.id + '-icon').src = this.icon; }
|
||||||
|
document.getElementById(this.id + '-anchor').style.backgroundColor = 'transparent';
|
||||||
|
document.getElementById(this.id + '-anchor').style.color = 'menutext';
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.doExpand = function() {
|
||||||
|
if (webFXTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.openIcon; }
|
||||||
|
if (this.childNodes.length) { document.getElementById(this.id + '-cont').style.display = 'block'; }
|
||||||
|
this.open = true;
|
||||||
|
webFXTreeHandler.cookies.setCookie(this.id.substr(18,this.id.length - 18), '1');
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.doCollapse = function() {
|
||||||
|
if (webFXTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.icon; }
|
||||||
|
if (this.childNodes.length) { document.getElementById(this.id + '-cont').style.display = 'none'; }
|
||||||
|
this.open = false;
|
||||||
|
webFXTreeHandler.cookies.setCookie(this.id.substr(18,this.id.length - 18), '0');
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.expandAll = function() {
|
||||||
|
this.expandChildren();
|
||||||
|
if ((this.folder) && (!this.open)) { this.expand(); }
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.expandChildren = function() {
|
||||||
|
for (var i = 0; i < this.childNodes.length; i++) {
|
||||||
|
this.childNodes[i].expandAll();
|
||||||
|
} }
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.collapseAll = function() {
|
||||||
|
if ((this.folder) && (this.open)) { this.collapse(); }
|
||||||
|
this.collapseChildren();
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.collapseChildren = function() {
|
||||||
|
for (var i = 0; i < this.childNodes.length; i++) {
|
||||||
|
this.childNodes[i].collapseAll();
|
||||||
|
} }
|
||||||
|
|
||||||
|
WebFXTreeAbstractNode.prototype.indent = function(lvl, del, last, level) {
|
||||||
|
/*
|
||||||
|
* Since we only want to modify items one level below ourself,
|
||||||
|
* and since the rightmost indentation position is occupied by
|
||||||
|
* the plus icon we set this to -2
|
||||||
|
*/
|
||||||
|
if (lvl == null) { lvl = -2; }
|
||||||
|
var state = 0;
|
||||||
|
for (var i = this.childNodes.length - 1; i >= 0 ; i--) {
|
||||||
|
state = this.childNodes[i].indent(lvl + 1, del, last, level);
|
||||||
|
if (state) { return; }
|
||||||
|
}
|
||||||
|
if (del) {
|
||||||
|
if (level >= this._level) {
|
||||||
|
if (this.folder) {
|
||||||
|
document.getElementById(this.id + '-plus').src = (this.open)?webFXTreeConfig.lMinusIcon:webFXTreeConfig.lPlusIcon;
|
||||||
|
this.plusIcon = webFXTreeConfig.lPlusIcon;
|
||||||
|
this.minusIcon = webFXTreeConfig.lMinusIcon;
|
||||||
|
}
|
||||||
|
else { document.getElementById(this.id + '-plus').src = webFXTreeConfig.lIcon; }
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var foo = document.getElementById(this.id + '-indent-' + lvl);
|
||||||
|
if (foo) {
|
||||||
|
if ((del) && (last)) { foo._last = true; }
|
||||||
|
if (foo._last) { foo.src = webFXTreeConfig.blankIcon; }
|
||||||
|
else { foo.src = webFXTreeConfig.iIcon; }
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WebFXTree class
|
||||||
|
*/
|
||||||
|
|
||||||
|
function WebFXTree(sText, sAction, sBehavior, sIcon, sOpenIcon) {
|
||||||
|
this.base = WebFXTreeAbstractNode;
|
||||||
|
this.base(sText, sAction);
|
||||||
|
this.icon = sIcon || webFXTreeConfig.rootIcon;
|
||||||
|
this.openIcon = sOpenIcon || webFXTreeConfig.openRootIcon;
|
||||||
|
/* Defaults to open */
|
||||||
|
this.open = (webFXTreeHandler.cookies.getCookie(this.id.substr(18,this.id.length - 18)) == '0')?false:true;
|
||||||
|
this.folder = true;
|
||||||
|
this.rendered = false;
|
||||||
|
if (!webFXTreeHandler.behavior) { webFXTreeHandler.behavior = sBehavior || webFXTreeConfig.defaultBehavior; }
|
||||||
|
this.targetWindow = 'right';
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype = new WebFXTreeAbstractNode;
|
||||||
|
|
||||||
|
WebFXTree.prototype.setBehavior = function (sBehavior) {
|
||||||
|
webFXTreeHandler.behavior = sBehavior;
|
||||||
|
};
|
||||||
|
|
||||||
|
WebFXTree.prototype.getBehavior = function (sBehavior) {
|
||||||
|
return webFXTreeHandler.behavior;
|
||||||
|
};
|
||||||
|
|
||||||
|
WebFXTree.prototype.getSelected = function() {
|
||||||
|
if (webFXTreeHandler.selected) { return webFXTreeHandler.selected; }
|
||||||
|
else { return null; }
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.remove = function() { }
|
||||||
|
|
||||||
|
WebFXTree.prototype.expand = function() {
|
||||||
|
this.doExpand();
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.collapse = function() {
|
||||||
|
this.focus();
|
||||||
|
this.doCollapse();
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.getFirst = function() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.getLast = function() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.getNextSibling = function() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.getPreviousSibling = function() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.keydown = function(key) {
|
||||||
|
if (key == 39) { this.expand(); return false; }
|
||||||
|
if (key == 37) { this.collapse(); return false; }
|
||||||
|
if ((key == 40) && (this.open)) { this.childNodes[0].select(); return false; }
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTree.prototype.toString = function() {
|
||||||
|
var str = "<div id=\"" + this.id + "\" ondblclick=\"webFXTreeHandler.toggle(this);\" class=\"webfx-tree-item\" onkeydown=\"return webFXTreeHandler.keydown(this)\">";
|
||||||
|
str += "<img id=\"" + this.id + "-icon\" class=\"webfx-tree-icon\" src=\"" + ((webFXTreeHandler.behavior == 'classic' && this.open)?this.openIcon:this.icon) + "\" onclick=\"webFXTreeHandler.select(this);\"><a href=\"" + this.action + "\" id=\"" + this.id + "-anchor\" target=\"" + this.targetWindow + "\" onfocus=\"webFXTreeHandler.focus(this);\" onblur=\"webFXTreeHandler.blur(this);\">" + this.text + "</a></div>";
|
||||||
|
str += "<div id=\"" + this.id + "-cont\" class=\"webfx-tree-container\" style=\"display: " + ((this.open)?'block':'none') + ";\">";
|
||||||
|
for (var i = 0; i < this.childNodes.length; i++) {
|
||||||
|
str += this.childNodes[i].toString(i, this.childNodes.length);
|
||||||
|
}
|
||||||
|
str += "</div>";
|
||||||
|
this.rendered = true;
|
||||||
|
return str;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WebFXTreeItem class
|
||||||
|
*/
|
||||||
|
|
||||||
|
function WebFXTreeItem(sText, sAction, eParent, sIcon, sOpenIcon) {
|
||||||
|
this.base = WebFXTreeAbstractNode;
|
||||||
|
this.base(sText, sAction);
|
||||||
|
/* Defaults to close */
|
||||||
|
this.open = (webFXTreeHandler.cookies.getCookie(this.id.substr(18,this.id.length - 18)) == '1')?true:false;
|
||||||
|
if (eParent) { eParent.add(this); }
|
||||||
|
if (sIcon) { this.icon = sIcon; }
|
||||||
|
if (sOpenIcon) { this.openIcon = sOpenIcon; }
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype = new WebFXTreeAbstractNode;
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.remove = function() {
|
||||||
|
var parentNode = this.parentNode;
|
||||||
|
var prevSibling = this.getPreviousSibling(true);
|
||||||
|
var nextSibling = this.getNextSibling(true);
|
||||||
|
var folder = this.parentNode.folder;
|
||||||
|
var last = ((nextSibling) && (nextSibling.parentNode) && (nextSibling.parentNode.id == parentNode.id))?false:true;
|
||||||
|
this.getPreviousSibling().focus();
|
||||||
|
this._remove();
|
||||||
|
if (parentNode.childNodes.length == 0) {
|
||||||
|
parentNode.folder = false;
|
||||||
|
parentNode.open = false;
|
||||||
|
}
|
||||||
|
if (last) {
|
||||||
|
if (parentNode.id == prevSibling.id) {
|
||||||
|
document.getElementById(parentNode.id + '-icon').src = webFXTreeConfig.fileIcon;
|
||||||
|
}
|
||||||
|
else { }
|
||||||
|
}
|
||||||
|
if ((!prevSibling.parentNode) || (prevSibling.parentNode != parentNode)) {
|
||||||
|
parentNode.indent(null, true, last, this._level);
|
||||||
|
}
|
||||||
|
if (document.getElementById(prevSibling.id + '-plus')) {
|
||||||
|
if (nextSibling) {
|
||||||
|
if ((parentNode == prevSibling) && (parentNode.getNextSibling)) { document.getElementById(prevSibling.id + '-plus').src = webFXTreeConfig.tIcon; }
|
||||||
|
else if (nextSibling.parentNode != prevSibling) { document.getElementById(prevSibling.id + '-plus').src = webFXTreeConfig.lIcon; }
|
||||||
|
}
|
||||||
|
else { document.getElementById(prevSibling.id + '-plus').src = webFXTreeConfig.lIcon; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype._remove = function() {
|
||||||
|
for (var i = this.childNodes.length - 1; i >= 0; i--) {
|
||||||
|
this.childNodes[i]._remove();
|
||||||
|
}
|
||||||
|
for (var i = 0; i < this.parentNode.childNodes.length; i++) {
|
||||||
|
if (this.id == this.parentNode.childNodes[i].id) {
|
||||||
|
for (var j = i; j < this.parentNode.childNodes.length; j++) {
|
||||||
|
this.parentNode.childNodes[i] = this.parentNode.childNodes[i+1]
|
||||||
|
}
|
||||||
|
this.parentNode.childNodes.length = this.parentNode.childNodes.length - 1;
|
||||||
|
if (i + 1 == this.parentNode.childNodes.length) { this.parentNode._last = true; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
webFXTreeHandler.all[this.id] = null;
|
||||||
|
if (document.getElementById(this.id)) {
|
||||||
|
document.getElementById(this.id).innerHTML = "";
|
||||||
|
document.getElementById(this.id).removeNode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.expand = function() {
|
||||||
|
this.doExpand();
|
||||||
|
document.getElementById(this.id + '-plus').src = this.minusIcon;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.collapse = function() {
|
||||||
|
this.focus();
|
||||||
|
this.doCollapse();
|
||||||
|
document.getElementById(this.id + '-plus').src = this.plusIcon;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.getFirst = function() {
|
||||||
|
return this.childNodes[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.getLast = function() {
|
||||||
|
if (this.childNodes[this.childNodes.length - 1].open) { return this.childNodes[this.childNodes.length - 1].getLast(); }
|
||||||
|
else { return this.childNodes[this.childNodes.length - 1]; }
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.getNextSibling = function() {
|
||||||
|
for (var i = 0; i < this.parentNode.childNodes.length; i++) {
|
||||||
|
if (this == this.parentNode.childNodes[i]) { break; }
|
||||||
|
}
|
||||||
|
if (++i == this.parentNode.childNodes.length) { return this.parentNode.getNextSibling(); }
|
||||||
|
else { return this.parentNode.childNodes[i]; }
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.getPreviousSibling = function(b) {
|
||||||
|
for (var i = 0; i < this.parentNode.childNodes.length; i++) {
|
||||||
|
if (this == this.parentNode.childNodes[i]) { break; }
|
||||||
|
}
|
||||||
|
if (i == 0) { return this.parentNode; }
|
||||||
|
else {
|
||||||
|
if ((this.parentNode.childNodes[--i].open) || (b && this.parentNode.childNodes[i].folder)) { return this.parentNode.childNodes[i].getLast(); }
|
||||||
|
else { return this.parentNode.childNodes[i]; }
|
||||||
|
} }
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.keydown = function(key) {
|
||||||
|
if ((key == 39) && (this.folder)) {
|
||||||
|
if (!this.open) { this.expand(); return false; }
|
||||||
|
else { this.getFirst().select(); return false; }
|
||||||
|
}
|
||||||
|
else if (key == 37) {
|
||||||
|
if (this.open) { this.collapse(); return false; }
|
||||||
|
else { this.parentNode.select(); return false; }
|
||||||
|
}
|
||||||
|
else if (key == 40) {
|
||||||
|
if (this.open) { this.getFirst().select(); return false; }
|
||||||
|
else {
|
||||||
|
var sib = this.getNextSibling();
|
||||||
|
if (sib) { sib.select(); return false; }
|
||||||
|
} }
|
||||||
|
else if (key == 38) { this.getPreviousSibling().select(); return false; }
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTreeItem.prototype.toString = function (nItem, nItemCount) {
|
||||||
|
var foo = this.parentNode;
|
||||||
|
var indent = '';
|
||||||
|
if (nItem + 1 == nItemCount) { this.parentNode._last = true; }
|
||||||
|
var i = 0;
|
||||||
|
while (foo.parentNode) {
|
||||||
|
foo = foo.parentNode;
|
||||||
|
indent = "<img id=\"" + this.id + "-indent-" + i + "\" src=\"" + ((foo._last)?webFXTreeConfig.blankIcon:webFXTreeConfig.iIcon) + "\">" + indent;
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
this._level = i;
|
||||||
|
if (this.childNodes.length) { this.folder = 1; }
|
||||||
|
else { this.open = false; }
|
||||||
|
if ((this.folder) || (webFXTreeHandler.behavior != 'classic')) {
|
||||||
|
if (!this.icon) { this.icon = webFXTreeConfig.folderIcon; }
|
||||||
|
if (!this.openIcon) { this.openIcon = webFXTreeConfig.openFolderIcon; }
|
||||||
|
}
|
||||||
|
else if (!this.icon) { this.icon = webFXTreeConfig.fileIcon; }
|
||||||
|
var label = this.text;
|
||||||
|
label = label.replace('<', '<');
|
||||||
|
label = label.replace('>', '>');
|
||||||
|
var str = "<div id=\"" + this.id + "\" ondblclick=\"webFXTreeHandler.toggle(this);\" class=\"webfx-tree-item\" onkeydown=\"return webFXTreeHandler.keydown(this)\">";
|
||||||
|
str += indent;
|
||||||
|
str += "<img id=\"" + this.id + "-plus\" src=\"" + ((this.folder)?((this.open)?((this.parentNode._last)?webFXTreeConfig.lMinusIcon:webFXTreeConfig.tMinusIcon):((this.parentNode._last)?webFXTreeConfig.lPlusIcon:webFXTreeConfig.tPlusIcon)):((this.parentNode._last)?webFXTreeConfig.lIcon:webFXTreeConfig.tIcon)) + "\" onclick=\"webFXTreeHandler.toggle(this);\">"
|
||||||
|
str += "<img id=\"" + this.id + "-icon\" src=\"" + ((webFXTreeHandler.behavior == 'classic' && this.open)?this.openIcon:this.icon) + "\" onclick=\"webFXTreeHandler.select(this);\"><a href=\"" + this.action + "\" id=\"" + this.id + "-anchor\" target=\"" + this.targetWindow + "\" onfocus=\"webFXTreeHandler.focus(this);\" onblur=\"webFXTreeHandler.blur(this);\">" + label + "</a></div>";
|
||||||
|
str += "<div id=\"" + this.id + "-cont\" class=\"webfx-tree-container\" style=\"display: " + ((this.open)?'block':'none') + ";\">";
|
||||||
|
for (var i = 0; i < this.childNodes.length; i++) {
|
||||||
|
str += this.childNodes[i].toString(i,this.childNodes.length);
|
||||||
|
}
|
||||||
|
str += "</div>";
|
||||||
|
this.plusIcon = ((this.parentNode._last)?webFXTreeConfig.lPlusIcon:webFXTreeConfig.tPlusIcon);
|
||||||
|
this.minusIcon = ((this.parentNode._last)?webFXTreeConfig.lMinusIcon:webFXTreeConfig.tMinusIcon);
|
||||||
|
return str;
|
||||||
|
}
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
bright: rgb(234,242,255);
|
||||||
|
normal: rgb(120,172,255);
|
||||||
|
dark: rgb(0,66,174);
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control.tab-pane {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control .tab-row .tab {
|
||||||
|
font-family: Verdana, Helvetica, Arial;
|
||||||
|
font-size: 12px;
|
||||||
|
cursor: Default;
|
||||||
|
display: inline;
|
||||||
|
margin: 1px -5px 1px 5px;
|
||||||
|
float: left;
|
||||||
|
padding: 3px 6px 3px 6px;
|
||||||
|
background: rgb(234,242,255);
|
||||||
|
border: 1px solid;
|
||||||
|
border-color: rgb(120,172,255);
|
||||||
|
border-left: 0;
|
||||||
|
border-bottom: 0;
|
||||||
|
border-top: 0;
|
||||||
|
|
||||||
|
cursor: hand;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
z-index: 1;
|
||||||
|
position: relative;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control .tab-row .tab.selected {
|
||||||
|
border: 1px solid rgb(120,172,255);
|
||||||
|
border-bottom: 0;
|
||||||
|
z-index: 3;
|
||||||
|
padding: 2px 6px 5px 6px;
|
||||||
|
margin: 1px -6px -2px 0px;
|
||||||
|
top: -2px;
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control .tab-row .tab a {
|
||||||
|
font-family: Verdana, Helvetica, Arial;
|
||||||
|
font-size: 13px;
|
||||||
|
color: rgb(0,66,174);
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: hand;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control .tab-row .hover a {
|
||||||
|
color: rgb(0,66,174);
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control .tab-row .tab.selected a {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control .tab-page {
|
||||||
|
clear: both;
|
||||||
|
border: 1px solid rgb(120,172,255);
|
||||||
|
background: White;
|
||||||
|
z-index: 2;
|
||||||
|
position: relative;
|
||||||
|
top: -2px;
|
||||||
|
color: Black;
|
||||||
|
font-family: Verdana, Helvetica, Arial;
|
||||||
|
font-size: 13px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dynamic-tab-pane-control .tab-row {
|
||||||
|
z-index: 1;
|
||||||
|
white-space: nowrap;
|
||||||
|
background: rgb(234,242,255);
|
||||||
|
height: 1.85em;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
@@ -0,0 +1,308 @@
|
|||||||
|
/*
|
||||||
|
* Tab Pane
|
||||||
|
*
|
||||||
|
* This script was created by Erik Arvidsson (erik(at)eae.net)
|
||||||
|
* for WebFX (http://webfx.eae.net)
|
||||||
|
* Copyright 2002
|
||||||
|
*
|
||||||
|
* For usage see license at http://webfx.eae.net/license.html
|
||||||
|
*
|
||||||
|
* Version: 1.0
|
||||||
|
* Created: 2002-01-?? First working version
|
||||||
|
* Updated: 2002-02-17 Cleaned up for 1.0 public version
|
||||||
|
*
|
||||||
|
* Dependencies: *.css - a css file to define the layout
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
// This function is used to define if the browser supports the needed
|
||||||
|
// features
|
||||||
|
function hasSupport() {
|
||||||
|
|
||||||
|
if (typeof hasSupport.support != "undefined")
|
||||||
|
return hasSupport.support;
|
||||||
|
|
||||||
|
var ie55 = /msie 5\.[56789]/i.test( navigator.userAgent );
|
||||||
|
|
||||||
|
hasSupport.support = ( typeof document.implementation != "undefined" &&
|
||||||
|
document.implementation.hasFeature( "html", "1.0" ) || ie55 )
|
||||||
|
|
||||||
|
// IE55 has a serious DOM1 bug... Patch it!
|
||||||
|
if ( ie55 ) {
|
||||||
|
document._getElementsByTagName = document.getElementsByTagName;
|
||||||
|
document.getElementsByTagName = function ( sTagName ) {
|
||||||
|
if ( sTagName == "*" )
|
||||||
|
return document.all;
|
||||||
|
else
|
||||||
|
return document._getElementsByTagName( sTagName );
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return hasSupport.support;
|
||||||
|
}
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// The constructor for tab panes
|
||||||
|
//
|
||||||
|
// el : HTMLElement The html element used to represent the tab pane
|
||||||
|
// bUseCookie : Boolean Optional. Default is true. Used to determine whether to us
|
||||||
|
// persistance using cookies or not
|
||||||
|
//
|
||||||
|
function WebFXTabPane( el, bUseCookie ) {
|
||||||
|
if ( !hasSupport() || el == null ) return;
|
||||||
|
|
||||||
|
this.element = el;
|
||||||
|
this.element.tabPane = this;
|
||||||
|
this.pages = [];
|
||||||
|
this.selectedIndex = null;
|
||||||
|
this.useCookie = bUseCookie != null ? bUseCookie : false;
|
||||||
|
|
||||||
|
// add class name tag to class name
|
||||||
|
this.element.className = this.classNameTag + " " + this.element.className;
|
||||||
|
|
||||||
|
// add tab row
|
||||||
|
this.tabRow = document.createElement( "div" );
|
||||||
|
this.tabRow.className = "tab-row";
|
||||||
|
el.insertBefore( this.tabRow, el.firstChild );
|
||||||
|
|
||||||
|
var tabIndex = 0;
|
||||||
|
if ( this.useCookie ) {
|
||||||
|
tabIndex = Number( WebFXTabPane.getCookie( "webfxtab_" + this.element.id ) );
|
||||||
|
if ( isNaN( tabIndex ) )
|
||||||
|
tabIndex = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.selectedIndex = tabIndex;
|
||||||
|
|
||||||
|
// loop through child nodes and add them
|
||||||
|
var cs = el.childNodes;
|
||||||
|
var n;
|
||||||
|
for (var i = 0; i < cs.length; i++) {
|
||||||
|
if (cs[i].nodeType == 1 && cs[i].className == "tab-page") {
|
||||||
|
this.addTabPage( cs[i] );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTabPane.prototype = {
|
||||||
|
|
||||||
|
classNameTag: "dynamic-tab-pane-control",
|
||||||
|
|
||||||
|
setSelectedIndex: function ( n ) {
|
||||||
|
if (this.selectedIndex != n) {
|
||||||
|
if (this.selectedIndex != null && this.pages[ this.selectedIndex ] != null )
|
||||||
|
this.pages[ this.selectedIndex ].hide();
|
||||||
|
this.selectedIndex = n;
|
||||||
|
this.pages[ this.selectedIndex ].show();
|
||||||
|
|
||||||
|
if ( this.useCookie )
|
||||||
|
WebFXTabPane.setCookie( "webfxtab_" + this.element.id, n ); // session cookie
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
getSelectedIndex: function () {
|
||||||
|
return this.selectedIndex;
|
||||||
|
},
|
||||||
|
|
||||||
|
addTabPage: function ( oElement ) {
|
||||||
|
if ( !hasSupport() ) return;
|
||||||
|
|
||||||
|
if ( oElement.tabPage == this ) // already added
|
||||||
|
return oElement.tabPage;
|
||||||
|
|
||||||
|
var n = this.pages.length;
|
||||||
|
var tp = this.pages[n] = new WebFXTabPage( oElement, this, n );
|
||||||
|
tp.tabPane = this;
|
||||||
|
|
||||||
|
// move the tab out of the box
|
||||||
|
this.tabRow.appendChild( tp.tab );
|
||||||
|
|
||||||
|
if ( n == this.selectedIndex )
|
||||||
|
tp.show();
|
||||||
|
else
|
||||||
|
tp.hide();
|
||||||
|
|
||||||
|
return tp;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Cookie handling
|
||||||
|
WebFXTabPane.setCookie = function ( sName, sValue, nDays ) {
|
||||||
|
var expires = "";
|
||||||
|
if ( nDays ) {
|
||||||
|
var d = new Date();
|
||||||
|
d.setTime( d.getTime() + nDays * 24 * 60 * 60 * 1000 );
|
||||||
|
expires = "; expires=" + d.toGMTString();
|
||||||
|
}
|
||||||
|
|
||||||
|
document.cookie = sName + "=" + sValue + expires + "; path=/";
|
||||||
|
};
|
||||||
|
|
||||||
|
WebFXTabPane.getCookie = function (sName) {
|
||||||
|
var re = new RegExp( "(\;|^)[^;]*(" + sName + ")\=([^;]*)(;|$)" );
|
||||||
|
var res = re.exec( document.cookie );
|
||||||
|
return res != null ? res[3] : null;
|
||||||
|
};
|
||||||
|
|
||||||
|
WebFXTabPane.removeCookie = function ( name ) {
|
||||||
|
setCookie( name, "", -1 );
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// The constructor for tab pages. This one should not be used.
|
||||||
|
// Use WebFXTabPage.addTabPage instead
|
||||||
|
//
|
||||||
|
// el : HTMLElement The html element used to represent the tab pane
|
||||||
|
// tabPane : WebFXTabPane The parent tab pane
|
||||||
|
// nindex : Number The index of the page in the parent pane page array
|
||||||
|
//
|
||||||
|
function WebFXTabPage( el, tabPane, nIndex ) {
|
||||||
|
if ( !hasSupport() || el == null ) return;
|
||||||
|
|
||||||
|
this.element = el;
|
||||||
|
this.element.tabPage = this;
|
||||||
|
this.index = nIndex;
|
||||||
|
|
||||||
|
var cs = el.childNodes;
|
||||||
|
for (var i = 0; i < cs.length; i++) {
|
||||||
|
if (cs[i].nodeType == 1 && cs[i].className == "tab") {
|
||||||
|
this.tab = cs[i];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// insert a tag around content to support keyboard navigation
|
||||||
|
var a = document.createElement( "A" );
|
||||||
|
a.href = "javascript:void 0;";
|
||||||
|
while ( this.tab.hasChildNodes() )
|
||||||
|
a.appendChild( this.tab.firstChild );
|
||||||
|
this.tab.appendChild( a );
|
||||||
|
|
||||||
|
|
||||||
|
anchor = '';
|
||||||
|
if ( document.URL.indexOf( '#' ) != -1 ) {
|
||||||
|
anchor = document.URL.substr( document.URL.indexOf( '#' ) + 1);
|
||||||
|
}
|
||||||
|
j = 0;
|
||||||
|
if ( anchor.length > 0 ) {
|
||||||
|
finalList = new Array();
|
||||||
|
listOfAnchors = el.getElementsByTagName('A');
|
||||||
|
for (i=0; i<listOfAnchors.length; i++) {
|
||||||
|
if (listOfAnchors[i].name.length) {
|
||||||
|
finalList[j++] = listOfAnchors[i].name;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for(i=0; i<finalList.length; i++) {
|
||||||
|
if ( anchor == finalList[i] ) {
|
||||||
|
if (tabPane.selectedIndex != nIndex) tabPane.pages[ tabPane.selectedIndex ].hide();
|
||||||
|
tabPane.selectedIndex = nIndex ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// hook up events, using DOM0
|
||||||
|
var oThis = this;
|
||||||
|
this.tab.onclick = function () { oThis.select(); };
|
||||||
|
this.tab.onmouseover = function () { WebFXTabPage.tabOver( oThis ); };
|
||||||
|
this.tab.onmouseout = function () { WebFXTabPage.tabOut( oThis ); };
|
||||||
|
}
|
||||||
|
|
||||||
|
WebFXTabPage.prototype = {
|
||||||
|
show: function () {
|
||||||
|
var el = this.tab;
|
||||||
|
var s = el.className + " selected";
|
||||||
|
s = s.replace(/ +/g, " ");
|
||||||
|
el.className = s;
|
||||||
|
|
||||||
|
this.element.style.display = "block";
|
||||||
|
},
|
||||||
|
|
||||||
|
hide: function () {
|
||||||
|
var el = this.tab;
|
||||||
|
var s = el.className;
|
||||||
|
s = s.replace(/ selected/g, "");
|
||||||
|
el.className = s;
|
||||||
|
|
||||||
|
this.element.style.display = "none";
|
||||||
|
},
|
||||||
|
|
||||||
|
select: function () {
|
||||||
|
this.tabPane.setSelectedIndex( this.index );
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
WebFXTabPage.tabOver = function ( tabpage ) {
|
||||||
|
var el = tabpage.tab;
|
||||||
|
var s = el.className + " hover";
|
||||||
|
s = s.replace(/ +/g, " ");
|
||||||
|
el.className = s;
|
||||||
|
};
|
||||||
|
|
||||||
|
WebFXTabPage.tabOut = function ( tabpage ) {
|
||||||
|
var el = tabpage.tab;
|
||||||
|
var s = el.className;
|
||||||
|
s = s.replace(/ hover/g, "");
|
||||||
|
el.className = s;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// This function initializes all uninitialized tab panes and tab pages
|
||||||
|
function setupAllTabs() {
|
||||||
|
if ( !hasSupport() ) return;
|
||||||
|
|
||||||
|
var all = document.getElementsByTagName( "*" );
|
||||||
|
var l = all.length;
|
||||||
|
var tabPaneRe = /tab\-pane/;
|
||||||
|
var tabPageRe = /tab\-page/;
|
||||||
|
var cn, el;
|
||||||
|
var parentTabPane;
|
||||||
|
|
||||||
|
for ( var i = 0; i < l; i++ ) {
|
||||||
|
el = all[i]
|
||||||
|
cn = el.className;
|
||||||
|
|
||||||
|
// no className
|
||||||
|
if ( cn == "" ) continue;
|
||||||
|
|
||||||
|
// uninitiated tab pane
|
||||||
|
if ( tabPaneRe.test( cn ) && !el.tabPane )
|
||||||
|
new WebFXTabPane( el );
|
||||||
|
|
||||||
|
// unitiated tab page wit a valid tab pane parent
|
||||||
|
else if ( tabPageRe.test( cn ) && !el.tabPage &&
|
||||||
|
tabPaneRe.test( el.parentNode.className ) ) {
|
||||||
|
el.parentNode.tabPane.addTabPage( el );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// initialization hook up
|
||||||
|
|
||||||
|
// DOM2
|
||||||
|
if ( typeof window.addEventListener != "undefined" )
|
||||||
|
window.addEventListener( "load", setupAllTabs, false );
|
||||||
|
|
||||||
|
// IE
|
||||||
|
else if ( typeof window.attachEvent != "undefined" )
|
||||||
|
window.attachEvent( "onload", setupAllTabs );
|
||||||
|
|
||||||
|
else {
|
||||||
|
if ( window.onload != null ) {
|
||||||
|
var oldOnload = window.onload;
|
||||||
|
window.onload = function ( e ) {
|
||||||
|
oldOnload( e );
|
||||||
|
setupAllTabs();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else
|
||||||
|
window.onload = setupAllTabs;
|
||||||
|
}
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
/*
|
||||||
|
ua.js revision 0.200 2001-12-03
|
||||||
|
|
||||||
|
Contributor(s): Bob Clary, Netscape Communications, Copyright 2001
|
||||||
|
|
||||||
|
Netscape grants you a royalty free license to use, modify and
|
||||||
|
distribute this software provided that this copyright notice
|
||||||
|
appears on all copies. This software is provided "AS IS,"
|
||||||
|
without a warranty of any kind.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function xbDetectBrowser()
|
||||||
|
{
|
||||||
|
var oldOnError = window.onerror;
|
||||||
|
var element = null;
|
||||||
|
|
||||||
|
window.onerror = null;
|
||||||
|
|
||||||
|
// work around bug in xpcdom Mozilla 0.9.1
|
||||||
|
window.saveNavigator = window.navigator;
|
||||||
|
|
||||||
|
navigator.OS = '';
|
||||||
|
navigator.version = parseFloat(navigator.appVersion);
|
||||||
|
navigator.org = '';
|
||||||
|
navigator.family = '';
|
||||||
|
|
||||||
|
var platform;
|
||||||
|
if (typeof(window.navigator.platform) != 'undefined')
|
||||||
|
{
|
||||||
|
platform = window.navigator.platform.toLowerCase();
|
||||||
|
if (platform.indexOf('win') != -1)
|
||||||
|
navigator.OS = 'win';
|
||||||
|
else if (platform.indexOf('mac') != -1)
|
||||||
|
navigator.OS = 'mac';
|
||||||
|
else if (platform.indexOf('unix') != -1 || platform.indexOf('linux') != -1 || platform.indexOf('sun') != -1)
|
||||||
|
navigator.OS = 'nix';
|
||||||
|
}
|
||||||
|
|
||||||
|
var i = 0;
|
||||||
|
var ua = window.navigator.userAgent.toLowerCase();
|
||||||
|
if (ua.indexOf('opera') != -1)
|
||||||
|
{
|
||||||
|
i = ua.indexOf('opera');
|
||||||
|
navigator.family = 'opera';
|
||||||
|
navigator.org = 'opera';
|
||||||
|
navigator.version = parseFloat('0' + ua.substr(i+6), 10);
|
||||||
|
}
|
||||||
|
else if ((i = ua.indexOf('msie')) != -1)
|
||||||
|
{
|
||||||
|
navigator.org = 'microsoft';
|
||||||
|
navigator.version = parseFloat('0' + ua.substr(i+5), 10);
|
||||||
|
|
||||||
|
if (navigator.version < 4)
|
||||||
|
navigator.family = 'ie3';
|
||||||
|
else
|
||||||
|
navigator.family = 'ie4'
|
||||||
|
}
|
||||||
|
else if (ua.indexOf('gecko') != -1)
|
||||||
|
{
|
||||||
|
navigator.family = 'gecko';
|
||||||
|
var rvStart = navigator.userAgent.indexOf('rv:') + 3;
|
||||||
|
var rvEnd = navigator.userAgent.indexOf(')', rvStart);
|
||||||
|
var rv = navigator.userAgent.substring(rvStart, rvEnd);
|
||||||
|
var decIndex = rv.indexOf('.');
|
||||||
|
if (decIndex != -1)
|
||||||
|
{
|
||||||
|
rv = rv.replace(/\./g, '')
|
||||||
|
rv = rv.substring(0, decIndex-1) + '.' + rv.substr(decIndex)
|
||||||
|
}
|
||||||
|
navigator.version = parseFloat(rv);
|
||||||
|
|
||||||
|
if (ua.indexOf('netscape') != -1)
|
||||||
|
navigator.org = 'netscape';
|
||||||
|
else if (ua.indexOf('compuserve') != -1)
|
||||||
|
navigator.org = 'compuserve';
|
||||||
|
else
|
||||||
|
navigator.org = 'mozilla';
|
||||||
|
}
|
||||||
|
else if ((ua.indexOf('mozilla') !=-1) && (ua.indexOf('spoofer')==-1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera')==-1)&& (ua.indexOf('webtv')==-1) && (ua.indexOf('hotjava')==-1))
|
||||||
|
{
|
||||||
|
var is_major = parseFloat(navigator.appVersion);
|
||||||
|
|
||||||
|
if (is_major < 4)
|
||||||
|
navigator.version = is_major;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
i = ua.lastIndexOf('/')
|
||||||
|
navigator.version = parseFloat('0' + ua.substr(i+1), 10);
|
||||||
|
}
|
||||||
|
navigator.org = 'netscape';
|
||||||
|
navigator.family = 'nn' + parseInt(navigator.appVersion);
|
||||||
|
}
|
||||||
|
else if ((i = ua.indexOf('aol')) != -1 )
|
||||||
|
{
|
||||||
|
// aol
|
||||||
|
navigator.family = 'aol';
|
||||||
|
navigator.org = 'aol';
|
||||||
|
navigator.version = parseFloat('0' + ua.substr(i+4), 10);
|
||||||
|
}
|
||||||
|
else if ((i = ua.indexOf('hotjava')) != -1 )
|
||||||
|
{
|
||||||
|
// hotjava
|
||||||
|
navigator.family = 'hotjava';
|
||||||
|
navigator.org = 'sun';
|
||||||
|
navigator.version = parseFloat(navigator.appVersion);
|
||||||
|
}
|
||||||
|
|
||||||
|
window.onerror = oldOnError;
|
||||||
|
}
|
||||||
|
|
||||||
|
xbDetectBrowser();
|
||||||
@@ -0,0 +1,220 @@
|
|||||||
|
|
||||||
|
body { background: #FFFFFF; }
|
||||||
|
body, table {
|
||||||
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.none td.btCell { background-color: #fff; vertical-align: top; }
|
||||||
|
table.none tr.highlight td.btCell { background-color: #f5f5f5; vertical-align: top; }
|
||||||
|
table.none th.btHead { background-color: #e5e5e5; vertical-align: top; }
|
||||||
|
table.btHeader, th.btHeader {
|
||||||
|
background-color: #014f9d;
|
||||||
|
color: #fff;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
table.btHeaderProminent, th.btHeaderProminent {
|
||||||
|
background-color: #9d0119;
|
||||||
|
color: #fff;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
div.showHideIndent { margin-left: 14px; }
|
||||||
|
td.left, th.left, th.syntaxLanguage { vertical-align: top; text-align: left; border-right: 1px solid #ceced8; border-bottom: solid 1px #ceced8; }
|
||||||
|
th.noborder { border: none; }
|
||||||
|
th.border { border: 1px solid #ceced8; }
|
||||||
|
td.border { border-bottom: 1px solid #ceced8; }
|
||||||
|
th.syntaxLanguage { font-size: 11px; line-height: 13px; vertical-align: top; }
|
||||||
|
.faq, .property { color: #000090; }
|
||||||
|
.method { color: #009000; }
|
||||||
|
.event { color: #900000; }
|
||||||
|
|
||||||
|
table.default th.syntaxLanguage { font-size: 0.7em; vertical-align: baseline; }
|
||||||
|
.small { font-size: 85%; line-height: 120%; }
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #000090;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
div.maintutorial {
|
||||||
|
border-width: thin;
|
||||||
|
border-color: #0066ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.source {
|
||||||
|
border-width: thin;
|
||||||
|
border-style: dashed;
|
||||||
|
border-color: #8899dd;
|
||||||
|
margin: 1em;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.var-type {
|
||||||
|
font-style : italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.var-title {
|
||||||
|
margin-left : 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.method-summary {
|
||||||
|
margin-left : 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*------------------------------------------------------------------------------
|
||||||
|
Show/Hide blocks
|
||||||
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
.shown { display: inline; }
|
||||||
|
.hidden { display: none; }
|
||||||
|
img.showHideImg, .showHideControl { cursor: hand; }
|
||||||
|
img.showHideImg { margin-right: 3px; }
|
||||||
|
|
||||||
|
.showHideActionText
|
||||||
|
{
|
||||||
|
font-size: 0.7em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.showHideActionTextContent
|
||||||
|
{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.showHideActionTextContentHover
|
||||||
|
{
|
||||||
|
text-decoration: underline;
|
||||||
|
font-weight: bold;
|
||||||
|
background-color: #ceced8;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
margin: 0.2em 0em 0.2em 24px;
|
||||||
|
padding: 0em;
|
||||||
|
}
|
||||||
|
ul li {
|
||||||
|
margin: 0.2em 0em 0.2em 0em; padding: 0em;
|
||||||
|
list-style-position: outside;
|
||||||
|
list-style-type: square;
|
||||||
|
}
|
||||||
|
span.li {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
ul {
|
||||||
|
color: #014fbe;
|
||||||
|
margin: 3px 0em 3px 16px;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
margin: 6px 0em 6px 0em;
|
||||||
|
}
|
||||||
|
h1 { margin: 1em 0em 1.2em 0em; font-size: 160%; line-height: 130%;}
|
||||||
|
h2 { font-size: 125%; line-height: 120%;}
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
padding: 0em;
|
||||||
|
margin: 1.5em 0em .25em 0em;
|
||||||
|
text-align: left;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
h3 { margin-top: 0.5em; font-size: 110%; }
|
||||||
|
h4 { margin: 0.25em 0em .25em 0em;; font-size: 100%; }
|
||||||
|
|
||||||
|
.Headline {
|
||||||
|
color: #000000;
|
||||||
|
font-family: Verdana,Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 9pt;
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
/* margin-left : -1.5em;*/
|
||||||
|
text-align : left;
|
||||||
|
margin-top : 1.0em;
|
||||||
|
margin-bottom : 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.HelpContent {
|
||||||
|
margin-left : 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.HelpTable {
|
||||||
|
border: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.HelpTable {
|
||||||
|
}
|
||||||
|
|
||||||
|
th.HelpTable {
|
||||||
|
border: 1px dotted;
|
||||||
|
background-color: #F0F0F0;
|
||||||
|
margin: 1px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.HelpTable {
|
||||||
|
border: 1px dotted;
|
||||||
|
background-color: #F9F9F9;
|
||||||
|
margin: 1px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.depreciated {
|
||||||
|
font-family: Verdana,Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 9pt;
|
||||||
|
border: 1px dotted #909090;
|
||||||
|
background-color: #F0F0F0;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*------------------------------------------------------------------------------
|
||||||
|
webfx-tree
|
||||||
|
------------------------------------------------------------------------------*/
|
||||||
|
.webfx-tree-container {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
font: icon;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.webfx-tree-item {
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
font: icon;
|
||||||
|
color: black;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.webfx-tree-item a, .webfx-tree-item a:active, .webfx-tree-item a:hover {
|
||||||
|
margin-left: 3px;
|
||||||
|
padding: 1px 2px 1px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.webfx-tree-item a {
|
||||||
|
color: black;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.webfx-tree-item a:hover {
|
||||||
|
color: blue;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.webfx-tree-item a:active {
|
||||||
|
background: highlight;
|
||||||
|
color: highlighttext;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.webfx-tree-item img {
|
||||||
|
vertical-align: middle;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.webfx-tree-icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE html
|
||||||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||||
|
<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
|
||||||
|
<body bgcolor="#ffffff" ><h1>Packages</h1>
|
||||||
|
<ul>
|
||||||
|
<li><a class="package" href='li_ldap.lib.html' target='left_bottom'>ldap.lib</a></li>
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/dev/dolibarr-phpdoc/PDFdefaultConverter/documentation.pdf
Normal file
@@ -23,10 +23,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* connection au serveur ldap
|
* Page-level DocBlock
|
||||||
|
* @package ldap.lib
|
||||||
|
* @version 1.9
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* connection au serveur ldap
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
* @return resource
|
||||||
|
*/
|
||||||
|
|
||||||
Function dolibarr_ldap_connect()
|
Function dolibarr_ldap_connect()
|
||||||
{
|
{
|
||||||
$ldapconnect = ldap_connect(LDAP_SERVER_HOST);
|
$ldapconnect = ldap_connect(LDAP_SERVER_HOST);
|
||||||
@@ -37,6 +46,10 @@ Function dolibarr_ldap_connect()
|
|||||||
/**
|
/**
|
||||||
* bind au serveur ldap
|
* bind au serveur ldap
|
||||||
*
|
*
|
||||||
|
* @access public
|
||||||
|
* @param resource $ds
|
||||||
|
* @return bool
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Function dolibarr_ldap_bind($ds)
|
Function dolibarr_ldap_bind($ds)
|
||||||
@@ -52,6 +65,10 @@ Function dolibarr_ldap_bind($ds)
|
|||||||
/**
|
/**
|
||||||
* unbind du serveur ldap
|
* unbind du serveur ldap
|
||||||
*
|
*
|
||||||
|
* @access public
|
||||||
|
* @param resource $ds
|
||||||
|
* @return bool
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Function dolibarr_ldap_unbind($ds)
|
Function dolibarr_ldap_unbind($ds)
|
||||||
@@ -68,10 +85,16 @@ Function dolibarr_ldap_unbind($ds)
|
|||||||
* cette fonction permet de verifier la version du
|
* cette fonction permet de verifier la version du
|
||||||
* protocole du serveur ldap
|
* protocole du serveur ldap
|
||||||
*
|
*
|
||||||
|
* @access public
|
||||||
|
* @param resource $ds
|
||||||
|
* @return mixed
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Function dolibarr_ldap_getversion($ds)
|
Function dolibarr_ldap_getversion($ds)
|
||||||
{
|
{
|
||||||
|
$version = 0;
|
||||||
|
|
||||||
ldap_get_option($ds, LDAP_OPT_PROTOCOL_VERSION, $version);
|
ldap_get_option($ds, LDAP_OPT_PROTOCOL_VERSION, $version);
|
||||||
|
|
||||||
return $version;
|
return $version;
|
||||||
@@ -83,6 +106,11 @@ Function dolibarr_ldap_getversion($ds)
|
|||||||
* cette fonction permet de modifier la version du
|
* cette fonction permet de modifier la version du
|
||||||
* protocole du serveur ldap
|
* protocole du serveur ldap
|
||||||
*
|
*
|
||||||
|
* @access public
|
||||||
|
* @param resource $ds
|
||||||
|
* @param integer $version
|
||||||
|
* @return bool
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Function dolibarr_ldap_setversion($ds,$version)
|
Function dolibarr_ldap_setversion($ds,$version)
|
||||||
@@ -97,6 +125,11 @@ Function dolibarr_ldap_setversion($ds,$version)
|
|||||||
*
|
*
|
||||||
* cette fonction permet d'enlever les accents d'une chaine
|
* cette fonction permet d'enlever les accents d'une chaine
|
||||||
* avant de l'envoyer au serveur ldap
|
* avant de l'envoyer au serveur ldap
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
* @param string $str
|
||||||
|
* @return string
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Function ldap_unacc($str)
|
Function ldap_unacc($str)
|
||||||
|
|||||||