2006-11-15 17:12:15 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Docs For Class PlaCSVExporter</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">
|
2007-11-04 11:19:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
[ <a href="../classtrees_tools.html" class="menu">class tree: tools</a> ]
|
2006-11-15 17:12:15 +00:00
|
|
|
[ <a href="../elementindex_tools.html" class="menu">index: tools</a> ]
|
2007-11-04 11:19:11 +00:00
|
|
|
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
2006-11-15 17:12:15 +00:00
|
|
|
</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">
|
2007-11-04 11:19:11 +00:00
|
|
|
<p><a href="../ric_README.html">README</a></p>
|
2008-01-06 18:15:35 +00:00
|
|
|
<p><a href="../ric_INSTALL.html">INSTALL</a></p>
|
2006-11-15 17:12:15 +00:00
|
|
|
</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">
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_lib---export.inc.html"> export.inc
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---tests---index.php.html"> index.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---tests---lamdaemonTest.php.html"> lamdaemonTest.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---massBuildAccounts.php.html"> massBuildAccounts.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---masscreate.php.html"> masscreate.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---massDoUpload.php.html"> massDoUpload.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---ou_edit.php.html"> ou_edit.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---schema---schema.php.html"> schema.php
|
2008-01-06 18:15:35 +00:00
|
|
|
</a><br>
|
|
|
|
<a href="../tools/_templates---tests---schemaTest.php.html"> schemaTest.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
2007-11-04 11:19:11 +00:00
|
|
|
<a href="../tools/_templates---tools.php.html"> tools.php
|
2006-11-15 17:12:15 +00:00
|
|
|
</a><br>
|
|
|
|
</div><br />
|
2007-11-04 11:19:11 +00:00
|
|
|
|
2006-11-15 17:12:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
<b>Classes:</b><br />
|
|
|
|
<div class="package">
|
2008-01-06 18:15:35 +00:00
|
|
|
<a href="../tools/LAMTool.html">LAMTool</a><br />
|
|
|
|
<a href="../tools/LdapExportInfo.html">LdapExportInfo</a><br />
|
2006-11-15 17:12:15 +00:00
|
|
|
<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>
|
2007-11-04 11:19:11 +00:00
|
|
|
|
2006-11-15 17:12:15 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
|
|
|
|
|
|
|
<h1>Class: PlaCSVExporter</h1>
|
|
|
|
Source Location: /lib/export.inc<br /><br />
|
|
|
|
|
|
|
|
|
|
|
|
<table width="100%" border="0">
|
|
|
|
<tr><td valign="top">
|
|
|
|
|
|
|
|
<h3><a href="#class_details">Class Overview</a></h3>
|
|
|
|
<pre><a href="../tools/PlaAbstractExporter.html">PlaAbstractExporter</a>
|
|
|
|
|
|
|
|
|
--<a href="../tools/PlaExporter.html">PlaExporter</a>
|
|
|
|
|
|
|
|
|
--PlaCSVExporter</pre><br />
|
|
|
|
<div class="description">Export to cvs format</div><br /><br />
|
|
|
|
<h4>Author(s):</h4>
|
|
|
|
<ul>
|
|
|
|
<li>Glen Ogilvie</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td valign="top">
|
|
|
|
<h3><a href="#class_vars">Variables</a></h3>
|
|
|
|
<ul>
|
|
|
|
<li><a href="../tools/PlaCSVExporter.html#var$escapeCode">$escapeCode</a></li>
|
|
|
|
<li><a href="../tools/PlaCSVExporter.html#var$multivalue_separator">$multivalue_separator</a></li>
|
|
|
|
<li><a href="../tools/PlaCSVExporter.html#var$qualifier">$qualifier</a></li>
|
|
|
|
<li><a href="../tools/PlaCSVExporter.html#var$separator">$separator</a></li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<td valign="top">
|
|
|
|
<h3><a href="#class_methods">Methods</a></h3>
|
|
|
|
<ul>
|
|
|
|
<li><a href="../tools/PlaCSVExporter.html#methodPlaCSVExporter">PlaCSVExporter</a></li>
|
|
|
|
<li><a href="../tools/PlaCSVExporter.html#methodexport">export</a></li>
|
|
|
|
<li><a href="../tools/PlaCSVExporter.html#methodLdapEscape">LdapEscape</a></li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr></table>
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<table width="100%" border="0"><tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td valign="top">
|
|
|
|
<h3>Inherited Variables</h3>
|
|
|
|
<div class="tags">
|
|
|
|
<h4>Class: <a href="../tools/PlaExporter.html">PlaExporter</a></h4>
|
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#var$br">PlaExporter::$br</a>
|
2007-11-04 11:19:11 +00:00
|
|
|
</dt>
|
2006-11-15 17:12:15 +00:00
|
|
|
<dd>
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#var$exporter">PlaExporter::$exporter</a>
|
2007-11-04 11:19:11 +00:00
|
|
|
</dt>
|
2006-11-15 17:12:15 +00:00
|
|
|
<dd>
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td valign="top">
|
|
|
|
<h3>Inherited Methods</h3>
|
|
|
|
<div class="tags">
|
|
|
|
<h4>Class: <a href="../tools/PlaExporter.html">PlaExporter</a></h4>
|
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodPlaExporter">PlaExporter::PlaExporter()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Constructor
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodexport">PlaExporter::export()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Abstract method use to export data.
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodis_safe_ascii">PlaExporter::is_safe_ascii()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Helper method to check if the attribute value should be base 64 encoded.
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodpla_fetch_entry_array">PlaExporter::pla_fetch_entry_array()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return the entry as an array
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodpla_fetch_entry_object">PlaExporter::pla_fetch_entry_object()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return the entry as an Entry object
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodpla_get_ldap_info">PlaExporter::pla_get_ldap_info()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return a PlaLdapInfo Object
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodpla_has_entry">PlaExporter::pla_has_entry()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return true if there is some more entries to be processed
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodpla_num_entries">PlaExporter::pla_num_entries()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return the number of entries
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaExporter.html#methodsetOutputFormat">PlaExporter::setOutputFormat()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Set the carriage return /linefeed for the export
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<h4>Class: <a href="../tools/PlaAbstractExporter.html">PlaAbstractExporter</a></h4>
|
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaAbstractExporter.html#methodpla_fetch_entry_array">PlaAbstractExporter::pla_fetch_entry_array()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return the entry as an array
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaAbstractExporter.html#methodpla_fetch_entry_object">PlaAbstractExporter::pla_fetch_entry_object()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return the entry as an Entry object
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaAbstractExporter.html#methodpla_get_ldap_info">PlaAbstractExporter::pla_get_ldap_info()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return a PlaLdapInfo Object
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaAbstractExporter.html#methodpla_has_entry">PlaAbstractExporter::pla_has_entry()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return true if there is some more entries to be processed
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="../tools/PlaAbstractExporter.html#methodpla_num_entries">PlaAbstractExporter::pla_num_entries()</a>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
Return the number of entries
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr></table>
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<a name="class_details"></a>
|
|
|
|
<h3>Class Details</h3>
|
|
|
|
<div class="tags">
|
|
|
|
[line 684]<br />
|
|
|
|
Export to cvs format<br /><br /><br /><br />
|
|
|
|
<h4>Tags:</h4>
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>author:</b> </td><td>Glen Ogilvie</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<a name="class_vars"></a>
|
|
|
|
<h3>Class Variables</h3>
|
|
|
|
<div class="tags">
|
|
|
|
<a name="var$escapeCode"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$escapeCode = <span class="value"> '"'</span></h4>
|
|
|
|
<p>[line 698]</p>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$multivalue_separator"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$multivalue_separator = <span class="value"> " | "</span></h4>
|
|
|
|
<p>[line 697]</p>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$qualifier"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$qualifier = <span class="value"> '"'</span></h4>
|
|
|
|
<p>[line 696]</p>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<a name="var$separator"></a>
|
|
|
|
<p></p>
|
|
|
|
<h4>$separator = <span class="value"> ","</span></h4>
|
|
|
|
<p>[line 695]</p>
|
|
|
|
When doing an exporter, the method export need to be overriden.<br /><br /><p>A basic implementation is provided here. Customize to your need</p><br />
|
|
|
|
<br />
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b> </td>
|
|
|
|
<td>mixed</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br /><br />
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
</div><br />
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<a name="class_methods"></a>
|
|
|
|
<h3>Class Methods</h3>
|
|
|
|
<div class="tags">
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<a name="methodPlaCSVExporter"></a>
|
|
|
|
<h3>constructor PlaCSVExporter <span class="smalllinenumber">[line 686]</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>PlaCSVExporter PlaCSVExporter(
|
2007-11-04 11:19:11 +00:00
|
|
|
|
2006-11-15 17:12:15 +00:00
|
|
|
$exporter)</code>
|
|
|
|
</td></tr></table>
|
|
|
|
</td></tr></table><br />
|
|
|
|
|
|
|
|
<br /><br />
|
|
|
|
|
|
|
|
|
2007-11-04 11:19:11 +00:00
|
|
|
<h4>Parameters:</h4>
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td class="type"> </td>
|
|
|
|
<td><b>$exporter</b> </td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br />
|
2006-11-15 17:12:15 +00:00
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<a name="methodexport"></a>
|
|
|
|
<h3>method export <span class="smalllinenumber">[line 700]</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>void export(
|
|
|
|
)</code>
|
|
|
|
</td></tr></table>
|
|
|
|
</td></tr></table><br />
|
|
|
|
|
|
|
|
<br /><br />
|
|
|
|
|
2007-11-04 11:19:11 +00:00
|
|
|
Overrides <a href="../tools/PlaExporter.html#methodexport">PlaExporter::export()</a> (Abstract method use to export data.)<br /><br />
|
2006-11-15 17:12:15 +00:00
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<a name="methodLdapEscape"></a>
|
|
|
|
<h3>method LdapEscape <span class="smalllinenumber">[line 780]</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>void LdapEscape(
|
2007-11-04 11:19:11 +00:00
|
|
|
|
2006-11-15 17:12:15 +00:00
|
|
|
$var)</code>
|
|
|
|
</td></tr></table>
|
|
|
|
</td></tr></table><br />
|
|
|
|
|
|
|
|
<br /><br />
|
|
|
|
|
|
|
|
|
2007-11-04 11:19:11 +00:00
|
|
|
<h4>Parameters:</h4>
|
|
|
|
<div class="tags">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td class="type"> </td>
|
|
|
|
<td><b>$var</b> </td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><br />
|
2006-11-15 17:12:15 +00:00
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
|
|
</div>
|
|
|
|
</div><br />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="credit">
|
|
|
|
<hr />
|
2008-01-06 18:15:35 +00:00
|
|
|
Documentation generated on Sun, 06 Jan 2008 18:59:00 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
|
2006-11-15 17:12:15 +00:00
|
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|