diff --git a/lam/docs/modules-specification.htm b/lam/docs/modules-specification.htm index 4c9cc726..dce1a986 100644 --- a/lam/docs/modules-specification.htm +++ b/lam/docs/modules-specification.htm @@ -1,8 +1,8 @@ - + Module specification @@ -27,8 +27,8 @@ allowed to call other static functions.

2.1.1. Constructor


- +

2.1.2. get_alias


- +

2.1.3. get_dependencies


- +

2.1.4. module_ready


- +
false

2.1.5. module_complete


- +

2.1.6. is_base_module


- +

2.1.7. get_ldap_filter


- +


2.1.8. get_profileOptions


- +


+This function defines what attributes will be used in the account +profiles and their appearance in the profile editor.

+$scope is the account type +("user", "group", "host" at this time).
+The return value is an array that contains meta HTML code.

-
-
-
+The type "fieldset" is not allowed here.


3. Meta HTML code

@@ -318,8 +322,22 @@ rowspan attribute for td elements. left/center/right/justify Like the HTML align attribute.
+Example:

-
+
array(
+  array(
+    array("kind" => "text", "text" => "This is an +example", "td" => array("colspan" => 3))
+  ),
+  array(
+    array("kind" => "text", "text" => "Input:"),
+    array("kind" => "input", "name" => "myinput", +"type" => "text"),
+    array("kind" => "help", "value" => "42")
+  )
+)
+