diff --git a/lam/docs/modules-specification.htm b/lam/docs/modules-specification.htm index 51162fe7..fd187a7c 100644 --- a/lam/docs/modules-specification.htm +++ b/lam/docs/modules-specification.htm @@ -1,8 +1,8 @@
- +function <module name> ($base) - |
-
The $scope parameter defines
the account type ("user", "group", "host" at this time). - 2.1.3. get_dependencies+2.1.2. is_base_module++
+Returns true if your module is +a base module and otherwise false. +$scope is the account type +("user", "group", "host" at this time). + +Every account type needs at least one base module. A base module +defines a full qualified account. +E.g. modules that use the object class posixAccount may be base modules +as it makes sense to manage these Unix accounts. On the other hand the +quota module is no base module as it needs posixAccount. + + 2.1.3. get_ldap_filter++
+Returns a string that can be used as part of a LDAP filter. Usually +used to filter object classes. +$scope is the account type +("user", "group", "host" at this time). + +All filter parts of the base modules are combined with OR and used to +find the accounts for the lists. + +Example: return "(objectClass=posixAccount)" + +This function +is only used for base modules. Standard modules do not need to +implement it. + + 2.1.4. get_dependencies
-Your module might depend on input of other modules. This function -determines if the module button on the account page is active or not. -The return value is true if -your module accepts input, otherwise false. - - - 2.1.5. module_complete--
-This function is called after your module has processed the POST input -data. -If there was an input error and you want to display a page again then -return false. If true is returned the next module -page will be displayed. - - 2.1.6. is_base_module--
-Returns true if your module is -a base module and otherwise false. -$scope is the account type -("user", "group", "host" at this time). - -Every account type needs at least one base module. A base module -defines a full qualified account. -E.g. modules that use the object class posixAccount may be base modules -as it makes sense to manage these Unix accounts. On the other hand the -quota module is no base module as it needs posixAccount. - - 2.1.7. get_ldap_filter--
-Returns a string that can be used as part of a LDAP filter. Usually -used to filter object classes. -$scope is the account type -("user", "group", "host" at this time). - -All filter parts of the base modules are combined with OR and used to -find the accounts for the lists. - -Example: return "(objectClass=posixAccount)" - -This function -is only used for base modules. - - - 2.1.8. get_profileOptions--
|