248 lines
		
	
	
		
			9.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
		
		
			
		
	
	
			248 lines
		
	
	
		
			9.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								<title>Docs for page export.inc</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">tools</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_tools.html" class="menu">class tree: tools</a> ]
							 | 
						||
| 
								 | 
							
										  [ <a href="../elementindex_tools.html" class="menu">index: tools</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">
							 | 
						||
| 
								 | 
							
									<div id="ric">
							 | 
						||
| 
								 | 
							
													<p><a href="../ric_INSTALL.html">INSTALL</a></p>
							 | 
						||
| 
								 | 
							
													<p><a href="../ric_README.html">README</a></p>
							 | 
						||
| 
								 | 
							
											</div>
							 | 
						||
| 
								 | 
							
								      <b>Packages:</b><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_configuration.html">configuration</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_Help.html">Help</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_LDAP.html">LDAP</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_lib.html">lib</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_lists.html">lists</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_main.html">main</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_modules.html">modules</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_PDF.html">PDF</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_profiles.html">profiles</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_selfService.html">selfService</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_tests.html">tests</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_tools.html">tools</a><br />
							 | 
						||
| 
								 | 
							
								              <a href="../li_types.html">types</a><br />
							 | 
						||
| 
								 | 
							
								            <br /><br />
							 | 
						||
| 
								 | 
							
								                        <b>Files:</b><br />
							 | 
						||
| 
								 | 
							
								      	  <div class="package">
							 | 
						||
| 
								 | 
							
											<a href="../tools/_lib---export.inc.html">		export.inc
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tests---index.php.html">		index.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tests---lamdaemonTest.php.html">		lamdaemonTest.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---massBuildAccounts.php.html">		massBuildAccounts.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---masscreate.php.html">		masscreate.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---massDoUpload.php.html">		massDoUpload.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---ou_edit.php.html">		ou_edit.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---schema---schema.php.html">		schema.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tests---schemaTest.php.html">		schemaTest.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
											<a href="../tools/_templates---tools.php.html">		tools.php
							 | 
						||
| 
								 | 
							
										</a><br>
							 | 
						||
| 
								 | 
							
									  </div><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      
							 | 
						||
| 
								 | 
							
								      
							 | 
						||
| 
								 | 
							
								            <b>Classes:</b><br />
							 | 
						||
| 
								 | 
							
								        <div class="package">
							 | 
						||
| 
								 | 
							
										    		<a href="../tools/LAMTool.html">LAMTool</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/LdapExportInfo.html">LdapExportInfo</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/MyCustomExporter.html">MyCustomExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaAbstractExporter.html">PlaAbstractExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaCSVExporter.html">PlaCSVExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaDsmlExporter.html">PlaDsmlExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaExporter.html">PlaExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaLdapExporter.html">PlaLdapExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaLdifExporter.html">PlaLdifExporter</a><br />
							 | 
						||
| 
								 | 
							
									    		<a href="../tools/PlaVcardExporter.html">PlaVcardExporter</a><br />
							 | 
						||
| 
								 | 
							
									  </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                </td>
							 | 
						||
| 
								 | 
							
								    <td>
							 | 
						||
| 
								 | 
							
								      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h1>Procedural File: export.inc</h1>
							 | 
						||
| 
								 | 
							
								Source Location: /lib/export.inc<br /><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<div class="contents">
							 | 
						||
| 
								 | 
							
								<h2>Classes:</h2>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/LdapExportInfo.html">LdapExportInfo</a></dt>
							 | 
						||
| 
								 | 
							
									<dd>This class encapsulate informations about the ldap server  from which the export is done.</dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/PlaAbstractExporter.html">PlaAbstractExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd>This class represents the base class of all exporters</dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/PlaExporter.html">PlaExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd>PlaExporter acts a wrapper around another exporter.</dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/PlaLdapExporter.html">PlaLdapExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd>Export data from a ldap server</dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/PlaLdifExporter.html">PlaLdifExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd>Export entries to ldif format</dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/PlaDsmlExporter.html">PlaDsmlExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd>Export entries to DSML v.1</dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/PlaVcardExporter.html">PlaVcardExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd></dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/PlaCSVExporter.html">PlaCSVExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd>Export to cvs format</dd>
							 | 
						||
| 
								 | 
							
								<dt><a href="../tools/MyCustomExporter.html">MyCustomExporter</a></dt>
							 | 
						||
| 
								 | 
							
									<dd></dd>
							 | 
						||
| 
								 | 
							
								</div><br /><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h2>Page Details:</h2>
							 | 
						||
| 
								 | 
							
								Functions and classes for exporting LDAP entries to others formats (LDIF,DSML,..)  An example is provided at the bottom of this file if you want implement yours.<br /><br /><br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Tags:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>author:</b>  </td><td>The phpLDAPadmin development team</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>author:</b>  </td><td>Roland Gruber</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								<br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Includes:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								include_once(<a href="../lib/_lib---status.inc.html">'status.inc'</a>) [line 40]<br />
							 | 
						||
| 
								 | 
							
								used to print status messages<br /><br /></div>
							 | 
						||
| 
								 | 
							
								<br /><br />
							 | 
						||
| 
								 | 
							
								<br /><br />
							 | 
						||
| 
								 | 
							
								<br />
							 | 
						||
| 
								 | 
							
								  <hr />
							 | 
						||
| 
								 | 
							
									<a name="functionget_user_agent_string"></a>
							 | 
						||
| 
								 | 
							
									<h3>get_user_agent_string <span class="smalllinenumber">[line 847]</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 get_user_agent_string(
							 | 
						||
| 
								 | 
							
								)</code>
							 | 
						||
| 
								 | 
							
								    </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td></tr></table><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										Gets the USER_AGENT string from the $_SERVER array, all in lower case in  an E_NOTICE safe manner.<br /><br /><br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Tags:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>return:</b>  </td><td>The user agent string as reported by the browser.</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								    <br /><br />
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								  <hr />
							 | 
						||
| 
								 | 
							
									<a name="functionis_browser_os_mac"></a>
							 | 
						||
| 
								 | 
							
									<h3>is_browser_os_mac <span class="smalllinenumber">[line 947]</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>boolean is_browser_os_mac(
							 | 
						||
| 
								 | 
							
								)</code>
							 | 
						||
| 
								 | 
							
								    </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td></tr></table><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										Determines whether the browser's operating system is Macintosh.<br /><br /><br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Tags:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>return:</b>  </td><td>True if the brower's OS is mac, false otherwise.</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								    <br /><br />
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								  <hr />
							 | 
						||
| 
								 | 
							
									<a name="functionis_browser_os_unix"></a>
							 | 
						||
| 
								 | 
							
									<h3>is_browser_os_unix <span class="smalllinenumber">[line 859]</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>boolean is_browser_os_unix(
							 | 
						||
| 
								 | 
							
								)</code>
							 | 
						||
| 
								 | 
							
								    </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td></tr></table><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										Determines whether the browser's operating system is UNIX (or something like UNIX).<br /><br /><br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Tags:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>return:</b>  </td><td>True if the brower's OS is UNIX, false otherwise.</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								    <br /><br />
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								  <hr />
							 | 
						||
| 
								 | 
							
									<a name="functionis_browser_os_windows"></a>
							 | 
						||
| 
								 | 
							
									<h3>is_browser_os_windows <span class="smalllinenumber">[line 910]</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>boolean is_browser_os_windows(
							 | 
						||
| 
								 | 
							
								)</code>
							 | 
						||
| 
								 | 
							
								    </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td></tr></table><br />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										Determines whether the browser's operating system is Windows.<br /><br /><br /><br />
							 | 
						||
| 
								 | 
							
								<h4>Tags:</h4>
							 | 
						||
| 
								 | 
							
								<div class="tags">
							 | 
						||
| 
								 | 
							
								<table border="0" cellspacing="0" cellpadding="0">
							 | 
						||
| 
								 | 
							
								  <tr>
							 | 
						||
| 
								 | 
							
								    <td><b>return:</b>  </td><td>True if the brower's OS is Windows, false otherwise.</td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								    <br /><br />
							 | 
						||
| 
								 | 
							
									
							 | 
						||
| 
								 | 
							
								    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <div class="credit">
							 | 
						||
| 
								 | 
							
										    <hr />
							 | 
						||
| 
								 | 
							
										    Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
							 | 
						||
| 
								 | 
							
									      </div>
							 | 
						||
| 
								 | 
							
								      </td></tr></table>
							 | 
						||
| 
								 | 
							
								    </td>
							 | 
						||
| 
								 | 
							
								  </tr>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |