From 6adb3a795855dc623c8720827f75317107a23bd7 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 2 Mar 2004 19:25:09 +0000 Subject: [PATCH] added can_mange() function --- lam/docs/modules-specification.htm | 32 +++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/lam/docs/modules-specification.htm b/lam/docs/modules-specification.htm index fd187a7c..e245434d 100644 --- a/lam/docs/modules-specification.htm +++ b/lam/docs/modules-specification.htm @@ -24,8 +24,30 @@ The class name of a module must contain only a-z, A-Z, 0-9, -, and _.
These functions are called without instanciating an object of the module class. They must not depend on class variables and are only allowed to call other static functions.
+


+

+

2.1.1. can_manage


-

2.1.1. get_alias

+ + + + + + +
function can_manage($scope)
+
+
+Returns true if this module +can manage accounts of type $scope, +otherwise false.
+The $scope parameter defines +the account type ("user", "group", "host" at this time).
+
+
+

2.1.2. get_alias


@@ -47,7 +69,7 @@ a-z, A-Z, 0-9, -, _ and spaces.
The $scope parameter defines the account type ("user", "group", "host" at this time).

-

2.1.2. is_base_module

+

2.1.3. is_base_module


@@ -72,7 +94,7 @@ 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

+

2.1.4. get_ldap_filter


@@ -101,7 +123,7 @@ find the accounts for the lists.
is only used for base modules. Standard modules do not need to implement it.

-

2.1.4. get_dependencies

+

2.1.5. get_dependencies


@@ -134,7 +156,7 @@ your module depends on one of these modules.
=> array("exim"));

-

2.1.5. get_profileOptions

+

2.1.6. get_profileOptions