| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html lang="en"><head> |
| 3 | |
| 4 | |
| 5 | <meta content="text/html; charset=ISO-8859-15" http-equiv="content-type"><title>Account modules</title> |
| 6 | |
| 7 | <link rel="stylesheet" type="text/css" href="style/layout.css"> |
| 8 | <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"></head><body> |
| 9 | <h1 style="text-align: center;">Account modules<br> |
| 10 | </h1> |
| 11 | <div style="text-align: center;"><img alt="base module" src="images/lam_baseModule.png" style="width: 531px; height: 207px;"><br> |
| 12 | </div> |
| 13 | <div style="text-align: center;"><br> |
| 14 | <div style="text-align: left;">The account modules control all the |
| 15 | functionality which is specific for LDAP accounts or parts of them. |
| 16 | E.g. they define the account detail pages where the user can edit |
| 17 | accounts, the profile editor sections and much more. They are the core |
| 18 | of LAM.<br> |
| 19 | <br> |
| 20 | All account modules are saved in <span style="font-weight: bold;">lib/modules/</span>.<br> |
| 21 | 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> |
| 22 | <br> |
| 23 | Please take a look at the <a href="mod_index.htm">module HowTo</a> for |
| 24 | an example to write your own modules.<br> |
| 25 | The complete specification for the module interface can be found <a href="phpdoc/modules/baseModule.html">here</a>.<br> |
| 26 | <br> |
| 27 | <h2>Superclass</h2> |
| 28 | All <span style="font-weight: bold;">account modules</span> should be |
| 29 | subclasses of the <a href="base_module.htm">baseModule</a>.<br> |
| 30 | This allows them to benefit from the meta data in the baseModule and |
| 31 | reduces very much the code since not the complete module interface has |
| 32 | to be implemented.<br> |
| 33 | <br> |
| 34 | <br> |
| 35 | <h2>Module detection</h2> |
| 36 | New modules can simply be copied to <span style="font-weight: bold;">lib/modules</span>. |
| 37 | LAM will check what files are inside the directory and provide the user |
| 38 | new modules automatically.<br> |
| 39 | There is no extra configuration file.<br> |
| 40 | <br> |
| 41 | <br> |
| 42 | </div> |
| 43 | </div> |
| 44 | </body></html> |