added proposal for naming attributes
This commit is contained in:
parent
e7d6502217
commit
6c8e4e7328
|
@ -1,8 +1,8 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type"
|
<meta content="text/html; charset=ISO-8859-15"
|
||||||
content="text/html; charset=ISO-8859-15">
|
http-equiv="content-type">
|
||||||
<title>Module specification</title>
|
<title>Module specification</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -28,8 +28,8 @@ allowed to call other static functions.<br>
|
||||||
</h3>
|
</h3>
|
||||||
<h3>2.1.1. can_manage</h3>
|
<h3>2.1.1. can_manage</h3>
|
||||||
<br>
|
<br>
|
||||||
<table style="text-align: left; width: 300px;" border="0"
|
<table cellpadding="2" cellspacing="2" border="0"
|
||||||
cellspacing="2" cellpadding="2">
|
style="text-align: left; width: 300px;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -49,8 +49,8 @@ the account type ("user", "group", "host" at this time).<br>
|
||||||
<br>
|
<br>
|
||||||
<h3>2.1.2. get_alias</h3>
|
<h3>2.1.2. get_alias</h3>
|
||||||
<br>
|
<br>
|
||||||
<table cellpadding="2" cellspacing="2" border="0"
|
<table style="text-align: left; width: 300px;" border="0"
|
||||||
style="text-align: left; width: 300px;">
|
cellspacing="2" cellpadding="2">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -71,8 +71,8 @@ the account type ("user", "group", "host" at this time).<br>
|
||||||
<br>
|
<br>
|
||||||
<h3>2.1.3. is_base_module</h3>
|
<h3>2.1.3. is_base_module</h3>
|
||||||
<br>
|
<br>
|
||||||
<table cellpadding="2" cellspacing="2" border="0"
|
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||||
style="text-align: left; width: 300px; height: 30px;">
|
cellspacing="2" cellpadding="2">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -96,8 +96,8 @@ quota module is no base module as it needs posixAccount.<br>
|
||||||
<br>
|
<br>
|
||||||
<h3>2.1.4. get_ldap_filter</h3>
|
<h3>2.1.4. get_ldap_filter</h3>
|
||||||
<br>
|
<br>
|
||||||
<table cellpadding="2" cellspacing="2" border="0"
|
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||||
style="text-align: left; width: 300px; height: 30px;">
|
cellspacing="2" cellpadding="2">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -125,8 +125,8 @@ implement it.</span><br>
|
||||||
<br>
|
<br>
|
||||||
<h3>2.1.5. get_dependencies</h3>
|
<h3>2.1.5. get_dependencies</h3>
|
||||||
<br>
|
<br>
|
||||||
<table style="text-align: left; width: 300px; font-weight: bold;"
|
<table cellpadding="2" cellspacing="2" border="0"
|
||||||
border="0" cellspacing="2" cellpadding="2">
|
style="text-align: left; width: 300px; font-weight: bold;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -158,8 +158,8 @@ your module depends on one of these modules.<br>
|
||||||
<br>
|
<br>
|
||||||
<h3>2.1.6. get_profileOptions</h3>
|
<h3>2.1.6. get_profileOptions</h3>
|
||||||
<br>
|
<br>
|
||||||
<table cellpadding="2" cellspacing="2" border="0"
|
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||||
style="text-align: left; width: 300px; height: 30px;">
|
cellspacing="2" cellpadding="2">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -179,13 +179,17 @@ The return value is an array that contains <span
|
||||||
style="font-weight: bold;">meta HTML code</span>.<br>
|
style="font-weight: bold;">meta HTML code</span>.<br>
|
||||||
<br>
|
<br>
|
||||||
The type "fieldset" is not allowed here.<br>
|
The type "fieldset" is not allowed here.<br>
|
||||||
|
The <span style="font-style: italic;">name</span> attributes are used
|
||||||
|
as keywords to load and save profiles. We recommend to use the module
|
||||||
|
name as prefix for them (e.g. posixAccount_homeDirectory) to avoid
|
||||||
|
naming confilcts.<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<h3>2.2. Class functions</h3>
|
<h3>2.2. Class functions</h3>
|
||||||
<h3>2.2.1. Constructor</h3>
|
<h3>2.2.1. Constructor</h3>
|
||||||
<br>
|
<br>
|
||||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
<table cellpadding="2" cellspacing="2" border="0"
|
||||||
cellspacing="2" cellpadding="2">
|
style="text-align: left; width: 300px; height: 30px;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -204,8 +208,8 @@ several helper functions.<br>
|
||||||
<br>
|
<br>
|
||||||
<h3>2.2.2. module_ready</h3>
|
<h3>2.2.2. module_ready</h3>
|
||||||
<br>
|
<br>
|
||||||
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
<table cellpadding="2" cellspacing="2" border="0"
|
||||||
cellspacing="2" cellpadding="2">
|
style="text-align: left; width: 300px; height: 30px;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
@ -223,8 +227,8 @@ your module accepts input, otherwise <span style="font-weight: bold;">false</spa
|
||||||
<br>
|
<br>
|
||||||
<h3>2.2.3. module_complete</h3>
|
<h3>2.2.3. module_complete</h3>
|
||||||
<br>
|
<br>
|
||||||
<table cellpadding="2" cellspacing="2" border="0"
|
<table style="text-align: left; width: 300px; height: 30px;" border="0"
|
||||||
style="text-align: left; width: 300px; height: 30px;">
|
cellspacing="2" cellpadding="2">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td
|
<td
|
||||||
|
|
Loading…
Reference in New Issue