2006-07-09 14:14:57 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta content="text/html; charset=ISO-8859-15"
|
|
|
|
http-equiv="content-type">
|
|
|
|
<title>Account modules</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="style/layout.css">
|
2008-01-06 18:15:35 +00:00
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
|
2006-07-09 14:14:57 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1 style="text-align: center;">Account modules<br>
|
|
|
|
</h1>
|
|
|
|
<div style="text-align: center;"><img alt="base module"
|
|
|
|
src="images/lam_baseModule.png" style="width: 531px; height: 207px;"><br>
|
|
|
|
</div>
|
|
|
|
<div style="text-align: center;"><br>
|
|
|
|
<div style="text-align: left;">The account modules control all the
|
|
|
|
functionality which is specific for LDAP accounts or parts of them.
|
|
|
|
E.g. they define the account detail pages where the user can edit
|
|
|
|
accounts, the profile editor sections and much more. They are the core
|
|
|
|
of LAM.<br>
|
|
|
|
<br>
|
|
|
|
All account modules are saved in <span style="font-weight: bold;">lib/modules/</span>.<br>
|
|
|
|
If your module needs any include files etc. please save it in <span
|
|
|
|
style="font-weight: bold;">lib/modules/<name of your module>.</span><br>
|
|
|
|
<br>
|
|
|
|
Please take a look at the <a href="mod_index.htm">module HowTo</a> for
|
|
|
|
an example to write your own modules.<br>
|
|
|
|
The complete specification for the module interface can be found <a
|
|
|
|
href="modules-specification.htm">here</a>.<br>
|
|
|
|
<br>
|
|
|
|
<h2>Superclass</h2>
|
|
|
|
All <span style="font-weight: bold;">account modules</span> should be
|
|
|
|
subclasses of the <a href="base_module.htm">baseModule</a>.<br>
|
|
|
|
This allows them to benefit from the meta data in the baseModule and
|
|
|
|
reduces very much the code since not the complete module interface has
|
|
|
|
to be implemented.<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<h2>Module detection</h2>
|
|
|
|
New modules can simply be copied to <span style="font-weight: bold;">lib/modules</span>.
|
|
|
|
LAM will check what files are inside the directory and provide the user
|
|
|
|
new modules automatically.<br>
|
|
|
|
There is no extra configuration file.<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|