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

1029 lines
36 KiB
HTML
Raw Normal View History

2006-11-15 17:12:15 +00:00
<html>
<head>
<title>Docs For Class posixGroup</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">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">
2007-11-04 11:19:11 +00:00
[ <a href="../classtrees_modules.html" class="menu">class tree: modules</a> ]
2006-11-15 17:12:15 +00:00
[ <a href="../elementindex_modules.html" class="menu">index: modules</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">
<p><a href="../ric_INSTALL.html">INSTALL</a></p>
2007-11-04 11:19:11 +00:00
<p><a href="../ric_README.html">README</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="../modules/_lib---modules---account.inc.html"> account.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---baseModule.inc.html"> baseModule.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---createntlm.inc.html"> createntlm.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_templates---account---edit.php.html"> edit.php
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---ieee802device.inc.html"> ieee802device.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---inetLocalMailRecipient.inc.html"> inetLocalMailRecipient.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---inetOrgPerson.inc.html"> inetOrgPerson.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---kolabUser.inc.html"> kolabUser.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---lamdaemon.inc.html"> lamdaemon.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---ldapPublicKey.inc.html"> ldapPublicKey.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules.inc.html"> modules.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---nisMailAlias.inc.html"> nisMailAlias.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---posixAccount.inc.html"> posixAccount.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---posixGroup.inc.html"> posixGroup.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---quota.inc.html"> quota.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaAccount.inc.html"> sambaAccount.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaDomain.inc.html"> sambaDomain.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaGroupMapping.inc.html"> sambaGroupMapping.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaSamAccount---sambaMungedDial.inc.html"> sambaMungedDial.inc
2006-11-15 17:12:15 +00:00
</a><br>
2007-11-04 11:19:11 +00:00
<a href="../modules/_lib---modules---sambaSamAccount.inc.html"> sambaSamAccount.inc
</a><br>
<a href="../modules/_lib---modules---shadowAccount.inc.html"> shadowAccount.inc
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">
<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 />
2007-11-04 11:19:11 +00:00
<a href="../modules/sambaMungedDial.html">sambaMungedDial</a><br />
2006-11-15 17:12:15 +00:00
<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>
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: posixGroup</h1>
Source Location: /lib/modules/posixGroup.inc<br /><br />
<table width="100%" border="0">
<tr><td valign="top">
<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../modules/baseModule.html">baseModule</a>
|
--posixGroup</pre><br />
<div class="description">Manages the object class &quot;posixGroup&quot; for groups.</div><br /><br />
</td>
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
<li><a href="../modules/posixGroup.html#methodbuild_uploadAccounts">build_uploadAccounts</a></li>
<li><a href="../modules/posixGroup.html#methoddelete_attributes">delete_attributes</a></li>
<li><a href="../modules/posixGroup.html#methoddisplay_html_attributes">display_html_attributes</a></li>
<li><a href="../modules/posixGroup.html#methoddisplay_html_password">display_html_password</a></li>
<li><a href="../modules/posixGroup.html#methoddisplay_html_user">display_html_user</a></li>
<li><a href="../modules/posixGroup.html#methodgetButtonStatus">getButtonStatus</a></li>
<li><a href="../modules/posixGroup.html#methodgetNextGIDs">getNextGIDs</a></li>
<li><a href="../modules/posixGroup.html#methodget_configOptions">get_configOptions</a></li>
<li><a href="../modules/posixGroup.html#methodget_metaData">get_metaData</a></li>
<li><a href="../modules/posixGroup.html#methodget_pdfEntries">get_pdfEntries</a></li>
<li><a href="../modules/posixGroup.html#methodinit">init</a></li>
<li><a href="../modules/posixGroup.html#methodload_Messages">load_Messages</a></li>
<li><a href="../modules/posixGroup.html#methodmodule_complete">module_complete</a></li>
<li><a href="../modules/posixGroup.html#methodprocess_attributes">process_attributes</a></li>
<li><a href="../modules/posixGroup.html#methodprocess_password">process_password</a></li>
<li><a href="../modules/posixGroup.html#methodprocess_user">process_user</a></li>
<li><a href="../modules/posixGroup.html#methodsave_attributes">save_attributes</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="../modules/baseModule.html">baseModule</a></h4>
<dl>
<dt>
<a href="../modules/baseModule.html#var$attributes">baseModule::$attributes</a>
2007-11-04 11:19:11 +00:00
</dt>
2006-11-15 17:12:15 +00:00
<dd>
</dd>
<dt>
<a href="../modules/baseModule.html#var$messages">baseModule::$messages</a>
2007-11-04 11:19:11 +00:00
</dt>
2006-11-15 17:12:15 +00:00
<dd>
</dd>
<dt>
<a href="../modules/baseModule.html#var$meta">baseModule::$meta</a>
2007-11-04 11:19:11 +00:00
</dt>
2006-11-15 17:12:15 +00:00
<dd>
</dd>
<dt>
<a href="../modules/baseModule.html#var$moduleSettings">baseModule::$moduleSettings</a>
2007-11-04 11:19:11 +00:00
</dt>
2006-11-15 17:12:15 +00:00
<dd>
</dd>
<dt>
<a href="../modules/baseModule.html#var$orig">baseModule::$orig</a>
2007-11-04 11:19:11 +00:00
</dt>
2006-11-15 17:12:15 +00:00
<dd>
</dd>
<dt>
2007-11-04 11:19:11 +00:00
<a href="../modules/baseModule.html#var$selfServiceSettings">baseModule::$selfServiceSettings</a>
</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="../modules/baseModule.html">baseModule</a></h4>
<dl>
<dt>
<a href="../modules/baseModule.html#methodbaseModule">baseModule::baseModule()</a>
</dt>
<dd>
Creates a new base module class
</dd>
<dt>
<a href="../modules/baseModule.html#methodbuild_uploadAccounts">baseModule::build_uploadAccounts()</a>
</dt>
<dd>
In this function the LDAP account is built up.
</dd>
<dt>
<a href="../modules/baseModule.html#methodcan_manage">baseModule::can_manage()</a>
</dt>
<dd>
Returns true if this module fits for the current scope.
</dd>
<dt>
<a href="../modules/baseModule.html#methodcheckSelfServiceOptions">baseModule::checkSelfServiceOptions()</a>
</dt>
<dd>
Checks if all input values are correct and returns the LDAP commands which should be executed.
2007-11-04 11:19:11 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodcheckSelfServiceSettings">baseModule::checkSelfServiceSettings()</a>
</dt>
<dd>
Checks if the self service settings are valid.
2006-11-15 17:12:15 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodcheck_configOptions">baseModule::check_configOptions()</a>
</dt>
<dd>
Checks input values of module settings.
</dd>
<dt>
<a href="../modules/baseModule.html#methodcheck_profileOptions">baseModule::check_profileOptions()</a>
</dt>
<dd>
Checks input values of account profiles.
</dd>
<dt>
<a href="../modules/baseModule.html#methoddelete_attributes">baseModule::delete_attributes()</a>
</dt>
<dd>
Dummy function for modules which use no special options on account deletion.
</dd>
<dt>
<a href="../modules/baseModule.html#methoddisplay_html_delete">baseModule::display_html_delete()</a>
</dt>
<dd>
Dummy function for modules which do not print extra HTML code on account deletion.
</dd>
<dt>
<a href="../modules/baseModule.html#methoddoUploadPostActions">baseModule::doUploadPostActions()</a>
</dt>
<dd>
This function executes one post upload action.
2007-11-04 11:19:11 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetAccountContainer">baseModule::getAccountContainer()</a>
</dt>
<dd>
Returns the accountContainer object.
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetAttributes">baseModule::getAttributes()</a>
</dt>
<dd>
Returns the LDAP attributes which are managed in this module.
2006-11-15 17:12:15 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetButtonStatus">baseModule::getButtonStatus()</a>
</dt>
<dd>
Controls if the module button the account page is visible and activated.
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetLDAPAliases">baseModule::getLDAPAliases()</a>
</dt>
<dd>
Returns a list of aliases for LDAP attributes.
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetManagedAttributes">baseModule::getManagedAttributes()</a>
</dt>
<dd>
Returns a list of LDAP attributes which are managed by this module.
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetManagedObjectClasses">baseModule::getManagedObjectClasses()</a>
</dt>
<dd>
Returns a list of managed object classes for this module.
2007-11-04 11:19:11 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetOriginalAttributes">baseModule::getOriginalAttributes()</a>
</dt>
<dd>
Returns the LDAP attributes which are managed in this module (with unchanged values).
2006-11-15 17:12:15 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetRequiredExtensions">baseModule::getRequiredExtensions()</a>
</dt>
<dd>
Returns a list of required PHP extensions.
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetSelfServiceFields">baseModule::getSelfServiceFields()</a>
</dt>
<dd>
Returns a list of possible input fields and their descriptions Format: array(&lt;field identifier&gt; =&gt; &lt;field description&gt;)
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetSelfServiceOptions">baseModule::getSelfServiceOptions()</a>
</dt>
<dd>
Returns the meta HTML code for each input field.
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetSelfServiceSearchAttributes">baseModule::getSelfServiceSearchAttributes()</a>
</dt>
<dd>
Returns a list of possible search attributes for the self service.
2007-11-04 11:19:11 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodgetSelfServiceSettings">baseModule::getSelfServiceSettings()</a>
</dt>
<dd>
Returns a list of self service configuration settings.
2006-11-15 17:12:15 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_alias">baseModule::get_alias()</a>
</dt>
<dd>
Returns an alias name for the module.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_configOptions">baseModule::get_configOptions()</a>
</dt>
<dd>
Returns a list of elements for the configuration.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_dependencies">baseModule::get_dependencies()</a>
</dt>
<dd>
This function returns a list with all depending and conflicting modules.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_help">baseModule::get_help()</a>
</dt>
<dd>
This function return the help entry array for a specific help id. Normally this-&gt;meta can be used.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_ldap_filter">baseModule::get_ldap_filter()</a>
</dt>
<dd>
returns an LDAP filter for the account lists
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_metaData">baseModule::get_metaData()</a>
</dt>
<dd>
Dummy function, meta data is provided by sub classes.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_pdfFields">baseModule::get_pdfFields()</a>
</dt>
<dd>
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.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_pdf_entries">baseModule::get_pdf_entries()</a>
</dt>
<dd>
Returns a hastable with all entries that may be printed out in the PDF. The
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_profileOptions">baseModule::get_profileOptions()</a>
</dt>
<dd>
Returns a list of elements for the account profiles.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_RDNAttributes">baseModule::get_RDNAttributes()</a>
</dt>
<dd>
Returns a list of possible LDAP attributes which can be used to form the RDN.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_scope">baseModule::get_scope()</a>
</dt>
<dd>
Returns the account type of this module (user, group, host)
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_uploadColumns">baseModule::get_uploadColumns()</a>
</dt>
<dd>
Returns an array containing all input columns for the file upload.
</dd>
<dt>
<a href="../modules/baseModule.html#methodget_uploadPreDepends">baseModule::get_uploadPreDepends()</a>
</dt>
<dd>
Returns a list of module names which must be processed in building the account befor this module.
</dd>
<dt>
<a href="../modules/baseModule.html#methodinit">baseModule::init()</a>
</dt>
<dd>
Initializes the module after it became part of an accountContainer
</dd>
<dt>
<a href="../modules/baseModule.html#methodis_base_module">baseModule::is_base_module()</a>
</dt>
<dd>
Returns true if this module is enough to provide a sensible account.
</dd>
<dt>
<a href="../modules/baseModule.html#methodload_attributes">baseModule::load_attributes()</a>
</dt>
<dd>
This function loads the LDAP attributes for this module.
</dd>
<dt>
<a href="../modules/baseModule.html#methodload_Messages">baseModule::load_Messages()</a>
</dt>
<dd>
This function fills the $messages variable with output messages from this module.
</dd>
<dt>
<a href="../modules/baseModule.html#methodload_profile">baseModule::load_profile()</a>
</dt>
<dd>
Loads the values of an account profile into internal variables.
</dd>
<dt>
<a href="../modules/baseModule.html#methodmodule_complete">baseModule::module_complete()</a>
</dt>
<dd>
This functions is used to check if all settings for this module have been made.
</dd>
<dt>
<a href="../modules/baseModule.html#methodmodule_ready">baseModule::module_ready()</a>
</dt>
<dd>
This function is used to check if this module page can be displayed.
2007-11-04 11:19:11 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodpostDeleteActions">baseModule::postDeleteActions()</a>
</dt>
<dd>
Allows the module to run commands after the LDAP entry is deleted.
</dd>
<dt>
<a href="../modules/baseModule.html#methodpostModifyActions">baseModule::postModifyActions()</a>
</dt>
<dd>
Allows the module to run commands after the LDAP entry is changed or created.
</dd>
<dt>
<a href="../modules/baseModule.html#methodpreDeleteActions">baseModule::preDeleteActions()</a>
</dt>
<dd>
Allows the module to run commands before the LDAP entry is deleted.
</dd>
<dt>
<a href="../modules/baseModule.html#methodpreModifyActions">baseModule::preModifyActions()</a>
</dt>
<dd>
Allows the module to run commands before the LDAP entry is changed or created.
2006-11-15 17:12:15 +00:00
</dd>
<dt>
<a href="../modules/baseModule.html#methodsave_attributes">baseModule::save_attributes()</a>
</dt>
<dd>
Returns a list of modifications which have to be made to the LDAP account.
</dd>
</dl>
</div>
</td>
</tr></table>
<hr />
<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 39]<br />
Manages the object class &quot;posixGroup&quot; for groups.<br /><br /></div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
<hr />
<a name="methodbuild_uploadAccounts"></a>
<h3>method build_uploadAccounts <span class="smalllinenumber">[line 53]</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
2007-11-04 11:19:11 +00:00
$ids,
&$partialAccounts, array
$partialAccounts)</code>
2006-11-15 17:12:15 +00:00
</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 />
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodbuild_uploadAccounts">baseModule::build_uploadAccounts()</a> (In this function the LDAP account is built up.)<br /><br />
2006-11-15 17:12:15 +00:00
<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>
2007-11-04 11:19:11 +00:00
</tr>
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>&$partialAccounts</b>&nbsp;&nbsp;</td>
<td></td>
2006-11-15 17:12:15 +00:00
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddelete_attributes"></a>
2007-11-04 11:19:11 +00:00
<h3>method delete_attributes <span class="smalllinenumber">[line 130]</span></h3>
2006-11-15 17:12:15 +00:00
<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">
2007-11-04 11:19:11 +00:00
<code>List delete_attributes(
2006-11-15 17:12:15 +00:00
)</code>
</td></tr></table>
</td></tr></table><br />
2007-11-04 11:19:11 +00:00
Checks if the group which should be deleted is still used as primary group.<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 />
2006-11-15 17:12:15 +00:00
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methoddelete_attributes">baseModule::delete_attributes()</a> (Dummy function for modules which use no special options on account deletion.)<br /><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddisplay_html_attributes"></a>
2007-11-04 11:19:11 +00:00
<h3>method display_html_attributes <span class="smalllinenumber">[line 152]</span></h3>
2006-11-15 17:12:15 +00:00
<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">
2007-11-04 11:19:11 +00:00
<code>array display_html_attributes(
2006-11-15 17:12:15 +00:00
)</code>
</td></tr></table>
</td></tr></table><br />
2007-11-04 11:19:11 +00:00
Returns the HTML meta data for the main account page.<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 meta data</td>
</tr>
</table>
</div>
<br /><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddisplay_html_password"></a>
2007-11-04 11:19:11 +00:00
<h3>method display_html_password <span class="smalllinenumber">[line 255]</span></h3>
2006-11-15 17:12:15 +00:00
<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 display_html_password(
)</code>
</td></tr></table>
</td></tr></table><br />
Displays the password changing dialog.<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>meta HTML code</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddisplay_html_user"></a>
2007-11-04 11:19:11 +00:00
<h3>method display_html_user <span class="smalllinenumber">[line 208]</span></h3>
2006-11-15 17:12:15 +00:00
<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 display_html_user(
)</code>
</td></tr></table>
</td></tr></table><br />
Displays selections to add or remove users from current group.<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>meta HTML output</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodgetButtonStatus"></a>
2007-11-04 11:19:11 +00:00
<h3>method getButtonStatus <span class="smalllinenumber">[line 501]</span></h3>
2006-11-15 17:12:15 +00:00
<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 />
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodgetButtonStatus">baseModule::getButtonStatus()</a> (Controls if the module button the account page is visible and activated.)<br /><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodgetNextGIDs"></a>
2007-11-04 11:19:11 +00:00
<h3>method getNextGIDs <span class="smalllinenumber">[line 720]</span></h3>
2006-11-15 17:12:15 +00:00
<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 getNextGIDs(
integer
2007-11-04 11:19:11 +00:00
$count,
&$errors, array
$errors)</code>
2006-11-15 17:12:15 +00:00
</td></tr></table>
</td></tr></table><br />
Returns one or more free GID numbers.<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>Null if no GIDs are free else an array of free GIDs.</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">integer&nbsp;&nbsp;</td>
<td><b>$count</b>&nbsp;&nbsp;</td>
<td>Number of needed free GIDs.</td>
</tr>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$errors</b>&nbsp;&nbsp;</td>
<td>list of error messages where errors can be added</td>
2007-11-04 11:19:11 +00:00
</tr>
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>&$errors</b>&nbsp;&nbsp;</td>
<td></td>
2006-11-15 17:12:15 +00:00
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_configOptions"></a>
2007-11-04 11:19:11 +00:00
<h3>method get_configOptions <span class="smalllinenumber">[line 416]</span></h3>
2006-11-15 17:12:15 +00:00
<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, array
$allScopes)</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 />
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodget_configOptions">baseModule::get_configOptions()</a> (Returns a list of elements for the configuration.)<br /><br />
2006-11-15 17:12:15 +00:00
<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>
<tr>
<td class="type">array&nbsp;&nbsp;</td>
<td><b>$allScopes</b>&nbsp;&nbsp;</td>
<td>list of all modules and active scopes</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_metaData"></a>
2007-11-04 11:19:11 +00:00
<h3>method get_metaData <span class="smalllinenumber">[line 277]</span></h3>
2006-11-15 17:12:15 +00:00
<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 />
Returns meta data that is interpreted by parent 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>array with meta data</td>
</tr>
</table>
</div>
<br /><br />
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodget_metaData">baseModule::get_metaData()</a> (Dummy function, meta data is provided by sub classes.)<br /><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget_pdfEntries"></a>
2007-11-04 11:19:11 +00:00
<h3>method get_pdfEntries <span class="smalllinenumber">[line 437]</span></h3>
2006-11-15 17:12:15 +00:00
<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_pdfEntries(
)</code>
</td></tr></table>
</td></tr></table><br />
Returns the PDF entries for 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 possible PDF entries</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodinit"></a>
2007-11-04 11:19:11 +00:00
<h3>method init <span class="smalllinenumber">[line 447]</span></h3>
2006-11-15 17:12:15 +00:00
<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(
2007-11-04 11:19:11 +00:00
2006-11-15 17:12:15 +00:00
$base)</code>
</td></tr></table>
</td></tr></table><br />
This functin will be called when the module will be loaded *<br /><br /><br /><br />
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodinit">baseModule::init()</a> (Initializes the module after it became part of an accountContainer)<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>$base</b>&nbsp;&nbsp;</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="methodload_Messages"></a>
2007-11-04 11:19:11 +00:00
<h3>method load_Messages <span class="smalllinenumber">[line 457]</span></h3>
2006-11-15 17:12:15 +00:00
<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 />
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodload_Messages">baseModule::load_Messages()</a> (This function fills the $messages variable with output messages from this module.)<br /><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodmodule_complete"></a>
2007-11-04 11:19:11 +00:00
<h3>method module_complete <span class="smalllinenumber">[line 482]</span></h3>
2006-11-15 17:12:15 +00:00
<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 />
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodmodule_complete">baseModule::module_complete()</a> (This functions is used to check if all settings for this module have been made.)<br /><br />
2006-11-15 17:12:15 +00:00
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodprocess_attributes"></a>
2007-11-04 11:19:11 +00:00
<h3>method process_attributes <span class="smalllinenumber">[line 519]</span></h3>
2006-11-15 17:12:15 +00:00
<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 process_attributes(
)</code>
</td></tr></table>
</td></tr></table><br />
Processes user input of the primary module page.<br /><br /><p>It checks if all input values are correct and updates the associated LDAP attributes.</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 info/error messages</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodprocess_password"></a>
2007-11-04 11:19:11 +00:00
<h3>method process_password <span class="smalllinenumber">[line 665]</span></h3>
2006-11-15 17:12:15 +00:00
<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 process_password(
)</code>
</td></tr></table>
</td></tr></table><br />
Processes user input of the password page.<br /><br /><p>It checks if all input values are correct and updates the associated LDAP attributes.</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 info/error messages</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodprocess_user"></a>
2007-11-04 11:19:11 +00:00
<h3>method process_user <span class="smalllinenumber">[line 646]</span></h3>
2006-11-15 17:12:15 +00:00
<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 process_user(
)</code>
</td></tr></table>
</td></tr></table><br />
Processes user input of the user selection page.<br /><br /><p>It checks if all input values are correct and updates the associated LDAP attributes.</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 info/error messages</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodsave_attributes"></a>
2007-11-04 11:19:11 +00:00
<h3>method save_attributes <span class="smalllinenumber">[line 690]</span></h3>
2006-11-15 17:12:15 +00:00
<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">
2007-11-04 11:19:11 +00:00
<code>array save_attributes(
2006-11-15 17:12:15 +00:00
)</code>
</td></tr></table>
</td></tr></table><br />
2007-11-04 11:19:11 +00:00
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 />
2006-11-15 17:12:15 +00:00
2007-11-04 11:19:11 +00:00
Overrides <a href="../modules/baseModule.html#methodsave_attributes">baseModule::save_attributes()</a> (Returns a list of modifications which have to be made to the LDAP account.)<br /><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 />
2007-11-04 11:19:11 +00:00
Documentation generated on Sun, 04 Nov 2007 12:11: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>