[LON-CAPA-cvs] cvs: loncom /interface longroup.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 22 Jun 2006 14:19:18 -0000
albertel Thu Jun 22 10:19:18 2006 EDT
Modified files:
/loncom/interface longroup.pm
Log:
- elimintating oddly long blank lines
Index: loncom/interface/longroup.pm
diff -u loncom/interface/longroup.pm:1.3 loncom/interface/longroup.pm:1.4
--- loncom/interface/longroup.pm:1.3 Thu May 18 16:19:50 2006
+++ loncom/interface/longroup.pm Thu Jun 22 10:19:18 2006
@@ -23,9 +23,9 @@
#
# http://www.lon-capa.org/
#
-
+
package Apache::longroup;
-
+
use strict;
use Apache::lonnet;
@@ -45,7 +45,7 @@
environment if not supplied. Optional group name will
be passed to lonnet::get_coursegroups() as a regexp to
use in the call to the dump function.
-
+
Output
Returns hash of groups in the course (subject to the
optional group name filter). In the hash, the keys are
@@ -83,30 +83,30 @@
###############################################
=item get_group_settings
-
+
Uses TokeParser to extract group information from the
XML used to describe course groups.
-
+
Input:
Scalar containing XML - as retrieved from &coursegroups().
-
+
Output:
Hash containing group information as key=values for (a), and
hash of hashes for (b)
-
+
Keys (in two categories):
(a) groupname, creator, creation, modified, startdate,enddate.
Corresponding values are name of the group, creator of the group
(username:domain), UNIX time for date group was created, and
settings were last modified, and default start and end access
times for group members.
-
+
(b) functions returned in hash of hashes.
Outer hash key is functions.
Inner hash keys are chat,discussion,email,files,homepage,roster.
Corresponding values are either on or off, depending on
whether this type of functionality is available for the group.
-
+
=cut
###############################################
@@ -155,7 +155,6 @@
} elsif ($token->[1] eq 'role') {
$role = '';
}
-
}
}
return %content;
@@ -176,13 +175,13 @@
###############################################
=pod
-
+
=item group_changes
Add or drop group memberships in a course as a result of
changes in a user's roles/sections. Called by
&Apache::lonnet:assignrole()
-
+
Input:
1. User's domain
2. User's username