LDAPAccountManager/lam-web/developers/phpdoc/modules/baseModule.html

1949 lines
68 KiB
HTML

<html>
<head>
<title>Docs For Class baseModule</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<p align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-4179059556107138";
google_alternate_ad_url = "http://lam.sourceforge.net/google_adsense_script.html";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "EEEEEE";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">modules</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_modules.html" class="menu">class tree: modules</a> ]
[ <a href="../elementindex_modules.html" class="menu">index: modules</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_README.html">README</a></p>
<p><a href="../ric_INSTALL.html">INSTALL</a></p>
</div>
<div id="todolist">
<p><a href="../todolist.html">Todo List</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_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="../modules/_lib_modules_account_inc.html"> account.inc
</a><br>
<a href="../modules/_lib_baseModule_inc.html"> baseModule.inc
</a><br>
<a href="../modules/_lib_createntlm_inc.html"> createntlm.inc
</a><br>
<a href="../modules/_templates_account_edit_php.html"> edit.php
</a><br>
<a href="../modules/_lib_modules_ieee802device_inc.html"> ieee802device.inc
</a><br>
<a href="../modules/_lib_modules_inetLocalMailRecipient_inc.html"> inetLocalMailRecipient.inc
</a><br>
<a href="../modules/_lib_modules_inetOrgPerson_inc.html"> inetOrgPerson.inc
</a><br>
<a href="../modules/_lib_modules_kolabUser_inc.html"> kolabUser.inc
</a><br>
<a href="../modules/_lib_lamdaemon_inc.html"> lamdaemon.inc
</a><br>
<a href="../modules/_lib_modules_ldapPublicKey_inc.html"> ldapPublicKey.inc
</a><br>
<a href="../modules/_lib_modules_inc.html"> modules.inc
</a><br>
<a href="../modules/_lib_modules_nisMailAlias_inc.html"> nisMailAlias.inc
</a><br>
<a href="../modules/_lib_modules_posixAccount_inc.html"> posixAccount.inc
</a><br>
<a href="../modules/_lib_modules_posixGroup_inc.html"> posixGroup.inc
</a><br>
<a href="../modules/_lib_modules_quota_inc.html"> quota.inc
</a><br>
<a href="../modules/_lib_modules_sambaAccount_inc.html"> sambaAccount.inc
</a><br>
<a href="../modules/_lib_modules_sambaDomain_inc.html"> sambaDomain.inc
</a><br>
<a href="../modules/_lib_modules_sambaGroupMapping_inc.html"> sambaGroupMapping.inc
</a><br>
<a href="../modules/_lib_modules_sambaSamAccount_inc.html"> sambaSamAccount.inc
</a><br>
<a href="../modules/_lib_modules_shadowAccount_inc.html"> shadowAccount.inc
</a><br>
</div><br />
<b>Classes:</b><br />
<div class="package">
<a href="../modules/account.html">account</a><br />
<a href="../modules/accountContainer.html">accountContainer</a><br />
<a href="../modules/baseModule.html">baseModule</a><br />
<a href="../modules/ieee802Device.html">ieee802Device</a><br />
<a href="../modules/inetLocalMailRecipient.html">inetLocalMailRecipient</a><br />
<a href="../modules/inetOrgPerson.html">inetOrgPerson</a><br />
<a href="../modules/kolabUser.html">kolabUser</a><br />
<a href="../modules/ldapPublicKey.html">ldapPublicKey</a><br />
<a href="../modules/nisMailAlias.html">nisMailAlias</a><br />
<a href="../modules/posixAccount.html">posixAccount</a><br />
<a href="../modules/posixGroup.html">posixGroup</a><br />
<a href="../modules/quota.html">quota</a><br />
<a href="../modules/samba3domain.html">samba3domain</a><br />
<a href="../modules/sambaAccount.html">sambaAccount</a><br />
<a href="../modules/sambaDomain.html">sambaDomain</a><br />
<a href="../modules/sambaGroupMapping.html">sambaGroupMapping</a><br />
<a href="../modules/sambaSamAccount.html">sambaSamAccount</a><br />
<a href="../modules/shadowAccount.html">shadowAccount</a><br />
<a href="../modules/smbHash.html">smbHash</a><br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Class: baseModule</h1>
Source Location: /lib/baseModule.inc<br /><br />
<table width="100%" border="0">
<tr><td valign="top">
<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Parent class of all account modules</div><br /><br />
</td>
<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
<li><a href="../modules/baseModule.html#var$attributes">$attributes</a></li>
<li><a href="../modules/baseModule.html#var$base">$base</a></li>
<li><a href="../modules/baseModule.html#var$messages">$messages</a></li>
<li><a href="../modules/baseModule.html#var$meta">$meta</a></li>
<li><a href="../modules/baseModule.html#var$moduleSettings">$moduleSettings</a></li>
<li><a href="../modules/baseModule.html#var$orig">$orig</a></li>
<li><a href="../modules/baseModule.html#var$scope">$scope</a></li>
<li><a href="../modules/baseModule.html#var$triggered_messages">$triggered_messages</a></li>
</ul>
</td>
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
<li><a href="../modules/baseModule.html#methodbaseModule">baseModule</a></li>
<li><a href="../modules/baseModule.html#methodbuild_uploadAccounts">build_uploadAccounts</a></li>
<li><a href="../modules/baseModule.html#methodcan_manage">can_manage</a></li>
<li><a href="../modules/baseModule.html#methodcheck_configOptions">check_configOptions</a></li>
<li><a href="../modules/baseModule.html#methodcheck_profileOptions">check_profileOptions</a></li>
<li><a href="../modules/baseModule.html#methoddelete_attributes">delete_attributes</a></li>
<li><a href="../modules/baseModule.html#methoddisplay_html_delete">display_html_delete</a></li>
<li><a href="../modules/baseModule.html#methoddoUploadPostActions">doUploadPostActions</a></li>
<li><a href="../modules/baseModule.html#methodgetButtonStatus">getButtonStatus</a></li>
<li><a href="../modules/baseModule.html#methodget_alias">get_alias</a></li>
<li><a href="../modules/baseModule.html#methodget_configDescriptions">get_configDescriptions</a></li>
<li><a href="../modules/baseModule.html#methodget_configOptions">get_configOptions</a></li>
<li><a href="../modules/baseModule.html#methodget_dependencies">get_dependencies</a></li>
<li><a href="../modules/baseModule.html#methodget_help">get_help</a></li>
<li><a href="../modules/baseModule.html#methodget_ldap_filter">get_ldap_filter</a></li>
<li><a href="../modules/baseModule.html#methodget_metaData">get_metaData</a></li>
<li><a href="../modules/baseModule.html#methodget_pdfFields">get_pdfFields</a></li>
<li><a href="../modules/baseModule.html#methodget_pdf_entries">get_pdf_entries</a></li>
<li><a href="../modules/baseModule.html#methodget_profileOptions">get_profileOptions</a></li>
<li><a href="../modules/baseModule.html#methodget_RDNAttributes">get_RDNAttributes</a></li>
<li><a href="../modules/baseModule.html#methodget_scope">get_scope</a></li>
<li><a href="../modules/baseModule.html#methodget_uploadColumns">get_uploadColumns</a></li>
<li><a href="../modules/baseModule.html#methodget_uploadPreDepends">get_uploadPreDepends</a></li>
<li><a href="../modules/baseModule.html#methodinit">init</a></li>
<li><a href="../modules/baseModule.html#methodinput_check">input_check</a></li>
<li><a href="../modules/baseModule.html#methodis_base_module">is_base_module</a></li>
<li><a href="../modules/baseModule.html#methodload_attributes">load_attributes</a></li>
<li><a href="../modules/baseModule.html#methodload_Messages">load_Messages</a></li>
<li><a href="../modules/baseModule.html#methodload_profile">load_profile</a></li>
<li><a href="../modules/baseModule.html#methodmodule_complete">module_complete</a></li>
<li><a href="../modules/baseModule.html#methodmodule_ready">module_ready</a></li>
<li><a href="../modules/baseModule.html#methodsave_attributes">save_attributes</a></li>
</ul>
</td>
</tr></table>
<hr />
<table width="100%" border="0"><tr>
<td valign="top">
<h3>Child classes:</h3>
<div class="tags">
<dl>
<dt><a href="../modules/account.html">account</a></dt>
<dd>Manages the object class &quot;account&quot; for users and hosts.</dd>
</dl>
<dl>
<dt><a href="../modules/ieee802Device.html">ieee802Device</a></dt>
<dd>Provides MAC addresses for hosts.</dd>
</dl>
<dl>
<dt><a href="../modules/posixGroup.html">posixGroup</a></dt>
<dd>Manages the object class &quot;posixGroup&quot; for groups.</dd>
</dl>
<dl>
<dt><a href="../modules/quota.html">quota</a></dt>
<dd>Manages quotas for users and groups.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html">sambaAccount</a></dt>
<dd>Manages the object class &quot;sambaAccount&quot; for users and hosts.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html">sambaSamAccount</a></dt>
<dd>Manages the object class &quot;sambaSamAccount&quot; for users and hosts.</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html">posixAccount</a></dt>
<dd>Manages the object class &quot;posixAccount&quot; for users and hosts.</dd>
</dl>
<dl>
<dt><a href="../modules/kolabUser.html">kolabUser</a></dt>
<dd>Manages Kolab user accounts.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html">sambaGroupMapping</a></dt>
<dd>Manages the object class &quot;sambaGroupMapping&quot; for groups.</dd>
</dl>
<dl>
<dt><a href="../modules/shadowAccount.html">shadowAccount</a></dt>
<dd>Manages the object class &quot;shadowAccount&quot; for users.</dd>
</dl>
<dl>
<dt><a href="../modules/ldapPublicKey.html">ldapPublicKey</a></dt>
<dd>Manages SSH public keys.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaDomain.html">sambaDomain</a></dt>
<dd>Manages Samba 3 domain entries.</dd>
</dl>
<dl>
<dt><a href="../modules/inetOrgPerson.html">inetOrgPerson</a></dt>
<dd>This class contains all account LDAP attributes and funtioncs required to deal with inetOrgPerson.</dd>
</dl>
<dl>
<dt><a href="../modules/inetLocalMailRecipient.html">inetLocalMailRecipient</a></dt>
<dd>Provides mail routing for users.</dd>
</dl>
<dl>
<dt><a href="../modules/nisMailAlias.html">nisMailAlias</a></dt>
<dd>Provides NIS mail alias management.</dd>
</dl>
</div>
</td>
</tr></table>
<hr />
<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 40]<br />
Parent class of all account modules<br /><br /></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$attributes"></a>
<p></p>
<h4>$attributes = <span class="value"></span></h4>
<p>[line 55]</p>
contains all ldap attributes which should be written<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$base"></a>
<p></p>
<h4>$base = <span class="value"></span></h4>
<p>[line 52]</p>
name of parent accountContainer ($_SESSION[$base])<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$messages"></a>
<p></p>
<h4>$messages = <span class="value"></span></h4>
<p>[line 64]</p>
contains all error messages of a module<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$meta"></a>
<p></p>
<h4>$meta = <span class="value"></span></h4>
<p>[line 43]</p>
includes all meta data provided by the sub class<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$moduleSettings"></a>
<p></p>
<h4>$moduleSettings = <span class="value"></span></h4>
<p>[line 49]</p>
configuration settings of all modules<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$orig"></a>
<p></p>
<h4>$orig = <span class="value"></span></h4>
<p>[line 58]</p>
contains all ldap attributes which are loaded from ldap<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$scope"></a>
<p></p>
<h4>$scope = <span class="value"></span></h4>
<p>[line 46]</p>
the account type of this module (user, group, host)<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</td>
<td>mixed</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<a name="var$triggered_messages"></a>
<p></p>
<h4>$triggered_messages = <span class="value"></span></h4>
<p>[line 61]</p>
contains all messages wich were triggered<br /><br />
<br />
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Type:</b>&nbsp;&nbsp;</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="methodbaseModule"></a>
<h3>constructor baseModule <span class="smalllinenumber">[line 71]</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>baseModule baseModule(
string
$scope)</code>
</td></tr></table>
</td></tr></table><br />
Creates a new base module class<br /><br /><br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$scope</b>&nbsp;&nbsp;</td>
<td>the account type (user, group, host)</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbuild_uploadAccounts"></a>
<h3>method build_uploadAccounts <span class="smalllinenumber">[line 498]</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>array build_uploadAccounts(
array
$rawAccounts, array
$ids, array
&$partialAccounts)</code>
</td></tr></table>
</td></tr></table><br />
In this function the LDAP account is built up.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of error messages if any</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/account.html#methodbuild_uploadAccounts">account::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/ieee802Device.html#methodbuild_uploadAccounts">ieee802Device::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/posixGroup.html#methodbuild_uploadAccounts">posixGroup::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methodbuild_uploadAccounts">quota::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodbuild_uploadAccounts">sambaAccount::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodbuild_uploadAccounts">sambaSamAccount::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodbuild_uploadAccounts">posixAccount::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/kolabUser.html#methodbuild_uploadAccounts">kolabUser::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodbuild_uploadAccounts">sambaGroupMapping::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/shadowAccount.html#methodbuild_uploadAccounts">shadowAccount::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/ldapPublicKey.html#methodbuild_uploadAccounts">ldapPublicKey::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaDomain.html#methodbuild_uploadAccounts">sambaDomain::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/inetOrgPerson.html#methodbuild_uploadAccounts">inetOrgPerson::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/inetLocalMailRecipient.html#methodbuild_uploadAccounts">inetLocalMailRecipient::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
<dl>
<dt><a href="../modules/nisMailAlias.html#methodbuild_uploadAccounts">nisMailAlias::build_uploadAccounts()</a></dt>
<dd>In this function the LDAP account is built up.</dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$rawAccounts</b>&nbsp;&nbsp;</td>
<td>list of hash arrays (name =&gt; value) from user input</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$partialAccounts</b>&nbsp;&nbsp;</td>
<td>list of hash arrays (name =&gt; value) which are later added to LDAP</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$ids</b>&nbsp;&nbsp;</td>
<td>list of IDs for column position (e.g. &quot;posixAccount_uid&quot; =&gt; 5)</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodcan_manage"></a>
<h3>method can_manage <span class="smalllinenumber">[line 150]</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 can_manage(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns true if this module fits for the current scope.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>true if module fits</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodcheck_configOptions"></a>
<h3>method check_configOptions <span class="smalllinenumber">[line 358]</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>array check_configOptions(
array
$scopes, array
$options)</code>
</td></tr></table>
</td></tr></table><br />
Checks input values of module settings.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of error messages</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/posixAccount.html#methodcheck_configOptions">posixAccount::check_configOptions()</a></dt>
<dd>Checks input values of module settings.</dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$scopes</b>&nbsp;&nbsp;</td>
<td>list of account types which are used</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$options</b>&nbsp;&nbsp;</td>
<td>hash array containing the settings (array('option' =&gt; array('value')))</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodcheck_profileOptions"></a>
<h3>method check_profileOptions <span class="smalllinenumber">[line 230]</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>array check_profileOptions(
array
$options)</code>
</td></tr></table>
</td></tr></table><br />
Checks input values of account profiles.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of error messages (array(type, title, text)) to generate StatusMessages, if any</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/quota.html#methodcheck_profileOptions">quota::check_profileOptions()</a></dt>
<dd>Checks input values of account profiles.</dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$options</b>&nbsp;&nbsp;</td>
<td>a hash array (name =&gt; value) containing the options</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddelete_attributes"></a>
<h3>method delete_attributes <span class="smalllinenumber">[line 653]</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>List delete_attributes(
$post
$post)</code>
</td></tr></table>
</td></tr></table><br />
Dummy function for modules which use no special options on account deletion.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>of LDAP operations, same as for save_attributes()</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/posixGroup.html#methoddelete_attributes">posixGroup::delete_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methoddelete_attributes">quota::delete_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methoddelete_attributes">posixAccount::delete_attributes()</a></dt>
<dd></dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">$post&nbsp;&nbsp;</td>
<td><b>$post</b>&nbsp;&nbsp;</td>
<td>The HTTP POST variables of the delete page</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddisplay_html_delete"></a>
<h3>method display_html_delete <span class="smalllinenumber">[line 663]</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>meta display_html_delete(
$post
&$post)</code>
</td></tr></table>
</td></tr></table><br />
Dummy function for modules which do not print extra HTML code on account deletion.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>HTML code</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/quota.html#methoddisplay_html_delete">quota::display_html_delete()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methoddisplay_html_delete">posixAccount::display_html_delete()</a></dt>
<dd></dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">$post&nbsp;&nbsp;</td>
<td><b>&$post</b>&nbsp;&nbsp;</td>
<td>HTTP POST values</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddoUploadPostActions"></a>
<h3>method doUploadPostActions <span class="smalllinenumber">[line 624]</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>array doUploadPostActions(
array
$data, array
$ids, array
$failed, array
&$temp)</code>
</td></tr></table>
</td></tr></table><br />
This function executes one post upload action.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>current status <br /> array ( <br /> 'status' =&gt; 'finished' | 'inProgress' <br /> 'progress' =&gt; 0..100 <br /> 'errors' =&gt; array (&lt;array of parameters for StatusMessage&gt;) <br /> )</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/quota.html#methoddoUploadPostActions">quota::doUploadPostActions()</a></dt>
<dd>This function executes one post upload action.</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methoddoUploadPostActions">posixAccount::doUploadPostActions()</a></dt>
<dd>This function executes one post upload action.</dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$data</b>&nbsp;&nbsp;</td>
<td>array containing one account in each element</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$ids</b>&nbsp;&nbsp;</td>
<td>array(&lt;column_name&gt; =&gt; &lt;column number&gt;)</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$failed</b>&nbsp;&nbsp;</td>
<td>list of accounts which were not created successfully</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$temp</b>&nbsp;&nbsp;</td>
<td>variable to store temporary data between two post actions</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodgetButtonStatus"></a>
<h3>method getButtonStatus <span class="smalllinenumber">[line 548]</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 getButtonStatus(
)</code>
</td></tr></table>
</td></tr></table><br />
Controls if the module button the account page is visible and activated.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>status (&quot;enabled&quot;, &quot;disabled&quot;, &quot;hidden&quot;)</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/account.html#methodgetButtonStatus">account::getButtonStatus()</a></dt>
<dd>Controls if the module button the account page is visible and activated.</dd>
</dl>
<dl>
<dt><a href="../modules/posixGroup.html#methodgetButtonStatus">posixGroup::getButtonStatus()</a></dt>
<dd>Controls if the module button the account page is visible and activated.</dd>
</dl>
<dl>
<dt><a href="../modules/inetOrgPerson.html#methodgetButtonStatus">inetOrgPerson::getButtonStatus()</a></dt>
<dd>Controls if the module button the account page is visible and activated.</dd>
</dl>
<dl>
<dt><a href="../modules/nisMailAlias.html#methodgetButtonStatus">nisMailAlias::getButtonStatus()</a></dt>
<dd>Controls if the module button the account page is visible and activated.</dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_alias"></a>
<h3>method get_alias <span class="smalllinenumber">[line 185]</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_alias(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns an alias name for the module.<br /><br /><p>This alias is used in various places instead of the less descriptive class name. The alias also has less syntax restrictions and may contain spaces or special characters.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>alias name</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_configDescriptions"></a>
<h3>method get_configDescriptions <span class="smalllinenumber">[line 345]</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>array get_configDescriptions(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns an array containing descriptions shown on configuration pages.<br /><br /><p>The returned array has the format array('legend' =&gt; '...', descriptions =&gt; array('option1' =&gt; '...', ...)). <br /> The &quot;legend&quot; value is used as text for the fieldset, the descriptions are used when the configuration is printed.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>configuration elements</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_configOptions"></a>
<h3>method get_configOptions <span class="smalllinenumber">[line 328]</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>array get_configOptions(
array
$scopes)</code>
</td></tr></table>
</td></tr></table><br />
Returns a list of elements for the configuration.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>configuration elements</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$scopes</b>&nbsp;&nbsp;</td>
<td>account types (user, group, host)</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_dependencies"></a>
<h3>method get_dependencies <span class="smalllinenumber">[line 209]</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>array get_dependencies(
)</code>
</td></tr></table>
</td></tr></table><br />
This function returns a list with all depending and conflicting modules.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of dependencies and conflicts</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_help"></a>
<h3>method get_help <span class="smalllinenumber">[line 512]</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>array get_help(
string
$id, string
$scope)</code>
</td></tr></table>
</td></tr></table><br />
This function return the help entry array for a specific help id. Normally this-&gt;meta can be used.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>The desired help entry.</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$id</b>&nbsp;&nbsp;</td>
<td>The id string for the help entry needed.</td>
</tr>
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$scope</b>&nbsp;&nbsp;</td>
<td>The scope for which the help entry should be retrieved. May be empty when there is now difference of the help entry depending on the actual scope.</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_ldap_filter"></a>
<h3>method get_ldap_filter <span class="smalllinenumber">[line 172]</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_ldap_filter(
)</code>
</td></tr></table>
</td></tr></table><br />
returns an LDAP filter for the account lists<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>LDAP filter</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_metaData"></a>
<h3>method get_metaData <span class="smalllinenumber">[line 132]</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>array get_metaData(
)</code>
</td></tr></table>
</td></tr></table><br />
Dummy function, meta data is provided by sub classes.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>empty array</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/account.html#methodget_metaData">account::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/ieee802Device.html#methodget_metaData">ieee802Device::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/posixGroup.html#methodget_metaData">posixGroup::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methodget_metaData">quota::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodget_metaData">sambaAccount::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodget_metaData">sambaSamAccount::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodget_metaData">posixAccount::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/kolabUser.html#methodget_metaData">kolabUser::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodget_metaData">sambaGroupMapping::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/shadowAccount.html#methodget_metaData">shadowAccount::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/ldapPublicKey.html#methodget_metaData">ldapPublicKey::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/sambaDomain.html#methodget_metaData">sambaDomain::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/inetOrgPerson.html#methodget_metaData">inetOrgPerson::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/inetLocalMailRecipient.html#methodget_metaData">inetLocalMailRecipient::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
<dl>
<dt><a href="../modules/nisMailAlias.html#methodget_metaData">nisMailAlias::get_metaData()</a></dt>
<dd>Returns meta data that is interpreted by parent class</dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_pdfFields"></a>
<h3>method get_pdfFields <span class="smalllinenumber">[line 442]</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>array get_pdfFields(
string
$scope)</code>
</td></tr></table>
</td></tr></table><br />
Returns an array with all fields available for this account type on the PDF output. This method may be overwritten by subclasses or it may be used by using entries in the $this-&gt;meta['PDF_fields'] array of the specific sub- class.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of available fields for PDF output</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$scope</b>&nbsp;&nbsp;</td>
<td>account type</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_pdf_entries"></a>
<h3>method get_pdf_entries <span class="smalllinenumber">[line 457]</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>array get_pdf_entries(
[string
$scope = 'user'])</code>
</td></tr></table>
</td></tr></table><br />
Returns a hastable with all entries that may be printed out in the PDF. The<br /><br /><p>syntax of the hashtable is specified by the module specification and the corresponding DTD. This method must be overwritten in case that there are non static things to be returned. The $this-&gt;meta['PDF_entries'] array may be used when there is only static content.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>hastable of entries for the PDF. Each entry is an array where each entry is treated as a new line in the PDF.</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$scope</b>&nbsp;&nbsp;</td>
<td>account type</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_profileOptions"></a>
<h3>method get_profileOptions <span class="smalllinenumber">[line 219]</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>profile get_profileOptions(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns a list of elements for the account profiles.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>elements</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/quota.html#methodget_profileOptions">quota::get_profileOptions()</a></dt>
<dd>Returns a list of elements for the account profiles.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodget_profileOptions">sambaSamAccount::get_profileOptions()</a></dt>
<dd>Returns a list of elements for the account profiles.</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodget_profileOptions">posixAccount::get_profileOptions()</a></dt>
<dd>Returns a list of elements for the account profiles.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodget_profileOptions">sambaGroupMapping::get_profileOptions()</a></dt>
<dd>Returns a list of elements for the account profiles.</dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_RDNAttributes"></a>
<h3>method get_RDNAttributes <span class="smalllinenumber">[line 199]</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>array get_RDNAttributes(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns a list of possible LDAP attributes which can be used to form the RDN.<br /><br /><p>The returned elements have this form: &lt;attribute&gt; =&gt; &lt;priority&gt; <br /> &lt;attribute&gt; is the name of the LDAP attribute <br /> &lt;priority&gt; defines the priority of the attribute (can be &quot;low&quot;, &quot;normal&quot;, &quot;high&quot;)</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of attributes</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_scope"></a>
<h3>method get_scope <span class="smalllinenumber">[line 141]</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_scope(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns the account type of this module (user, group, host)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>account type</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_uploadColumns"></a>
<h3>method get_uploadColumns <span class="smalllinenumber">[line 475]</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>array get_uploadColumns(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns an array containing all input columns for the file upload.<br /><br /><p>Syntax: <br /> array( <br /> string: name, // fixed non-translated name which is used as column name (should be of format: &lt;module name&gt;_&lt;column name&gt;) <br /> string: description, // short descriptive name <br /> string: help, // help ID <br /> string: example, // example value <br /> boolean: required // true, if user must set a value for this column <br /> )</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>column list</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/quota.html#methodget_uploadColumns">quota::get_uploadColumns()</a></dt>
<dd>Returns an array containing all input columns for the file upload.</dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_uploadPreDepends"></a>
<h3>method get_uploadPreDepends <span class="smalllinenumber">[line 485]</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>array get_uploadPreDepends(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns a list of module names which must be processed in building the account befor this module.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of module names</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodinit"></a>
<h3>method init <span class="smalllinenumber">[line 89]</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 init(
string
$base)</code>
</td></tr></table>
</td></tr></table><br />
Initializes the module after it became part of an accountContainer<br /><br /><br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/posixGroup.html#methodinit">posixGroup::init()</a></dt>
<dd>This functin will be called when the module will be loaded *</dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methodinit">quota::init()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodinit">sambaAccount::init()</a></dt>
<dd>Initializes the module after it became part of an accountContainer</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodinit">sambaSamAccount::init()</a></dt>
<dd>Initializes the module after it became part of an accountContainer</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodinit">posixAccount::init()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodinit">sambaGroupMapping::init()</a></dt>
<dd>Initializes the module after it became part of an accountContainer</dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$base</b>&nbsp;&nbsp;</td>
<td>the name of the accountContainer object ($_SESSION[$base])</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodinput_check"></a>
<h3>method input_check <span class="smalllinenumber">[line 560]</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 input_check(
)</code>
</td></tr></table>
</td></tr></table><br />
Checks if the attribute values follow the LDAP syntax.<br /><br /><p>Not every LDAP attribute allows UTF-8 strings. Therefore we do a syntax check here and change UTF-8 strings to ASCII strings if needed. The maximum length of the attributes is checked, too.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>0 if no errors/warnings occured, otherwise an array of status messages.</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodis_base_module"></a>
<h3>method is_base_module <span class="smalllinenumber">[line 162]</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_base_module(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns true if this module is enough to provide a sensible account.<br /><br /><p>There is no relation to the name of this class.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>true if base module</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodload_attributes"></a>
<h3>method load_attributes <span class="smalllinenumber">[line 109]</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 load_attributes(
array
$attr)</code>
</td></tr></table>
</td></tr></table><br />
This function loads all standard LDAP attributes. It is used by the modules to reduce code<br /><br /><br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/account.html#methodload_attributes">account::load_attributes()</a></dt>
<dd>This function loads all attributes into the object.</dd>
</dl>
<dl>
<dt><a href="../modules/ieee802Device.html#methodload_attributes">ieee802Device::load_attributes()</a></dt>
<dd>This function loads all needed attributes into the object.</dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methodload_attributes">quota::load_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodload_attributes">sambaAccount::load_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodload_attributes">sambaSamAccount::load_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodload_attributes">posixAccount::load_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/kolabUser.html#methodload_attributes">kolabUser::load_attributes()</a></dt>
<dd>This function loads all needed attributes into the object.</dd>
</dl>
<dl>
<dt><a href="../modules/ldapPublicKey.html#methodload_attributes">ldapPublicKey::load_attributes()</a></dt>
<dd>This function loads all needed attributes into the object.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaDomain.html#methodload_attributes">sambaDomain::load_attributes()</a></dt>
<dd>This function loads all needed attributes into the object.</dd>
</dl>
<dl>
<dt><a href="../modules/inetLocalMailRecipient.html#methodload_attributes">inetLocalMailRecipient::load_attributes()</a></dt>
<dd>This function loads all needed attributes into the object.</dd>
</dl>
<dl>
<dt><a href="../modules/nisMailAlias.html#methodload_attributes">nisMailAlias::load_attributes()</a></dt>
<dd>This function loads all needed attributes into the object.</dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$attr</b>&nbsp;&nbsp;</td>
<td>attribute list</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodload_Messages"></a>
<h3>method load_Messages <span class="smalllinenumber">[line 81]</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 load_Messages(
)</code>
</td></tr></table>
</td></tr></table><br />
This function fills the $messages variable with output messages from this module.<br /><br /><br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/account.html#methodload_Messages">account::load_Messages()</a></dt>
<dd>This function fills the message array.</dd>
</dl>
<dl>
<dt><a href="../modules/ieee802Device.html#methodload_Messages">ieee802Device::load_Messages()</a></dt>
<dd>This function fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/posixGroup.html#methodload_Messages">posixGroup::load_Messages()</a></dt>
<dd>this functin fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methodload_Messages">quota::load_Messages()</a></dt>
<dd>this functin fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodload_Messages">sambaAccount::load_Messages()</a></dt>
<dd>this functin fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodload_Messages">sambaSamAccount::load_Messages()</a></dt>
<dd>this functin fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodload_Messages">posixAccount::load_Messages()</a></dt>
<dd>this functin fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/kolabUser.html#methodload_Messages">kolabUser::load_Messages()</a></dt>
<dd>This function fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodload_Messages">sambaGroupMapping::load_Messages()</a></dt>
<dd>this functin fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/shadowAccount.html#methodload_Messages">shadowAccount::load_Messages()</a></dt>
<dd>This function builds up the message array.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaDomain.html#methodload_Messages">sambaDomain::load_Messages()</a></dt>
<dd>This function fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/inetOrgPerson.html#methodload_Messages">inetOrgPerson::load_Messages()</a></dt>
<dd>This function fills the message array.</dd>
</dl>
<dl>
<dt><a href="../modules/inetLocalMailRecipient.html#methodload_Messages">inetLocalMailRecipient::load_Messages()</a></dt>
<dd>This function fills the error message array with messages</dd>
</dl>
<dl>
<dt><a href="../modules/nisMailAlias.html#methodload_Messages">nisMailAlias::load_Messages()</a></dt>
<dd>This function fills the error message array with messages</dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodload_profile"></a>
<h3>method load_profile <span class="smalllinenumber">[line 311]</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 load_profile(
array
$profile)</code>
</td></tr></table>
</td></tr></table><br />
Loads the values of an account profile into internal variables.<br /><br /><br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/quota.html#methodload_profile">quota::load_profile()</a></dt>
<dd>Loads the values of an account profile into internal variables.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodload_profile">sambaAccount::load_profile()</a></dt>
<dd>Loads the values of an account profile into internal variables.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodload_profile">sambaSamAccount::load_profile()</a></dt>
<dd>Loads the values of an account profile into internal variables.</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodload_profile">posixAccount::load_profile()</a></dt>
<dd>Loads the values of an account profile into internal variables.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodload_profile">sambaGroupMapping::load_profile()</a></dt>
<dd>Loads the values of an account profile into internal variables.</dd>
</dl>
<dl>
<dt><a href="../modules/shadowAccount.html#methodload_profile">shadowAccount::load_profile()</a></dt>
<dd>Loads the values of an account profile into internal variables.</dd>
</dl>
</p>
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$profile</b>&nbsp;&nbsp;</td>
<td>hash array with profile values (identifier =&gt; value)</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodmodule_complete"></a>
<h3>method module_complete <span class="smalllinenumber">[line 539]</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 module_complete(
)</code>
</td></tr></table>
</td></tr></table><br />
This functions is used to check if all settings for this module have been made.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>true, if settings are complete</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/account.html#methodmodule_complete">account::module_complete()</a></dt>
<dd>This functions returns true if all needed settings are done.</dd>
</dl>
<dl>
<dt><a href="../modules/posixGroup.html#methodmodule_complete">posixGroup::module_complete()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methodmodule_complete">quota::module_complete()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodmodule_complete">sambaAccount::module_complete()</a></dt>
<dd>This functions returns true if all needed settings are done</dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodmodule_complete">sambaSamAccount::module_complete()</a></dt>
<dd>This functions is used to check if all settings for this module have been made.</dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodmodule_complete">posixAccount::module_complete()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/kolabUser.html#methodmodule_complete">kolabUser::module_complete()</a></dt>
<dd>This function returns true if all needed settings are done.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodmodule_complete">sambaGroupMapping::module_complete()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/inetOrgPerson.html#methodmodule_complete">inetOrgPerson::module_complete()</a></dt>
<dd>This functions return true if all needed settings are done.</dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodmodule_ready"></a>
<h3>method module_ready <span class="smalllinenumber">[line 530]</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 module_ready(
)</code>
</td></tr></table>
</td></tr></table><br />
This function is used to check if this module page can be displayed.<br /><br /><p>It returns false if a module depends on data from other modules which was not yet entered.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>true, if page can be displayed</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/quota.html#methodmodule_ready">quota::module_ready()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodmodule_ready">sambaAccount::module_ready()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodmodule_ready">sambaSamAccount::module_ready()</a></dt>
<dd>This function is used to check if this module page can be displayed.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodmodule_ready">sambaGroupMapping::module_ready()</a></dt>
<dd></dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodsave_attributes"></a>
<h3>method save_attributes <span class="smalllinenumber">[line 643]</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>array save_attributes(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns a list of modifications which have to be made to the LDAP account.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>list of modifications <br />This function returns an array with 3 entries: <br />array( DN1 ('add' =&gt; array($attr), 'remove' =&gt; array($attr), 'modify' =&gt; array($attr)), DN2 .... ) <br />DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid) <br />&quot;add&quot; are attributes which have to be added to LDAP entry <br />&quot;remove&quot; are attributes which have to be removed from LDAP entry <br />&quot;modify&quot; are attributes which have to been modified in LDAP entry</td>
</tr>
</table>
</div>
<br /><br />
<p>Overridden in child classes as:<br />
<dl>
<dt><a href="../modules/account.html#methodsave_attributes">account::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/posixGroup.html#methodsave_attributes">posixGroup::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/quota.html#methodsave_attributes">quota::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaAccount.html#methodsave_attributes">sambaAccount::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/sambaSamAccount.html#methodsave_attributes">sambaSamAccount::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/posixAccount.html#methodsave_attributes">posixAccount::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/kolabUser.html#methodsave_attributes">kolabUser::save_attributes()</a></dt>
<dd>Returns a list of modifications which have to be made to the LDAP account.</dd>
</dl>
<dl>
<dt><a href="../modules/sambaGroupMapping.html#methodsave_attributes">sambaGroupMapping::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/shadowAccount.html#methodsave_attributes">shadowAccount::save_attributes()</a></dt>
<dd>Returns a list of modifications which have to be made to the LDAP account.</dd>
</dl>
<dl>
<dt><a href="../modules/inetOrgPerson.html#methodsave_attributes">inetOrgPerson::save_attributes()</a></dt>
<dd></dd>
</dl>
<dl>
<dt><a href="../modules/nisMailAlias.html#methodsave_attributes">nisMailAlias::save_attributes()</a></dt>
<dd>Returns a list of modifications which have to be made to the LDAP account.</dd>
</dl>
</p>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div><br />
<div class="credit">
<hr />
Documentation generated on Tue, 07 Feb 2006 17:03:34 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.2.3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
<p align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-4179059556107138";
google_alternate_ad_url = "http://lam.sourceforge.net/google_adsense_script.html";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "EEEEEE";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
</body>
</html>