From 87b3743d8ba7be2a6cb6ec2bfe6649f768317030 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 14 Mar 2004 16:40:59 +0000 Subject: [PATCH] added check_profileOptions() --- lam/docs/modules-specification.htm | 68 +++++++++++++++++++++--------- 1 file changed, 48 insertions(+), 20 deletions(-) diff --git a/lam/docs/modules-specification.htm b/lam/docs/modules-specification.htm index 06e66b6a..85c8a50a 100644 --- a/lam/docs/modules-specification.htm +++ b/lam/docs/modules-specification.htm @@ -1,8 +1,8 @@ - + Module specification @@ -28,8 +28,8 @@ allowed to call other static functions.

2.1.1. can_manage


- +

2.1.2. get_alias


- +

2.1.3. is_base_module


- +

2.1.4. get_ldap_filter


- +


2.1.5. get_dependencies


- +

2.1.6. get_profileOptions


- +

+

2.1.7. check_profileOptions

+
+ + + + + + +
function check_profileOptions($scope, +$options)
+
+
+This function checks the input for a new or modified account profile.
+
+$scope is the account type +("user", "group", "host" at this time).
+$options is an hash array +(option name => value) that contains the input. The option values +are all arrays containing one or more elements.
+If the input data is invalid the return value is an array that contains +arrays to build StatusMessages (0 => message type, 1 => message +head, 2 => message text, 3 => additional variables).
+If no errors occured the function returns an empty array.
+

2.2. Class functions

2.2.1. Constructor


- +

2.2.2. module_ready


- +
false

2.2.3. module_complete


- +