changed POD formatting

This commit is contained in:
JT Smith 2004-09-14 02:22:38 +00:00
parent bf5a0145ae
commit 2b6eb201a9
55 changed files with 1188 additions and 3220 deletions

View file

@ -58,18 +58,14 @@ These functions are available from this package:
Adds groups to a group.
=over
=item groups
=head3 groups
An array reference containing the list of group ids to add.
=item toGroups
=head3 toGroups
An array reference containing the list of group ids to add the first list to.
=back
=cut
sub addGroupsToGroups {
@ -92,22 +88,18 @@ sub addGroupsToGroups {
Adds users to the specified groups.
=over
=item users
=head3 users
An array reference containing a list of users.
=item groups
=head3 groups
An array reference containing a list of groups.
=item expireOffset
=head3 expireOffset
An override for the default offset of the grouping. Specified in seconds.
=back
=cut
sub addUsersToGroups {
@ -134,18 +126,14 @@ sub addUsersToGroups {
Deletes groups from these groups.
=over
=item groups
=head3 groups
An array reference containing the list of group ids to delete.
=item fromGroups
=head3 fromGroups
An array reference containing the list of group ids to delete from.
=back
=cut
sub deleteGroupsFromGroups {
@ -163,18 +151,14 @@ sub deleteGroupsFromGroups {
Deletes a list of users from the specified groups.
=over
=item users
=head3 users
An array reference containing a list of users.
=item groups
=head3 groups
An array reference containing a list of groups.
=back
=cut
sub deleteUsersFromGroups {
@ -192,14 +176,10 @@ sub deleteUsersFromGroups {
Returns an array reference containing a list of groups the specified group is in.
=over
=item groupId
=head3 groupId
A unique identifier for the group.
=back
=cut
sub getGroupsForGroup {
@ -213,18 +193,14 @@ sub getGroupsForGroup {
Returns an array reference containing a list of groups the specified user is in.
=over
=item userId
=head3 userId
A unique identifier for the user.
=item withoutExpired
=head3 withoutExpired
If set to "1" then the listing will not include expired groupings. Defaults to "0".
=back
=cut
sub getGroupsForUser {
@ -252,18 +228,14 @@ sub getGroupsForUser {
Returns an array reference containing a list of groups that belong to the specified group.
=over
=item groupId
=head3 groupId
A unique identifier for the group.
=item recursive
=head3 recursive
A boolean value to determine whether the method should return the groups directly in the group, or to follow the entire groups of groups hierarchy. Defaults to "0".
=back
=cut
@ -302,18 +274,14 @@ sub getGroupsInGroup {
Returns an array reference containing a list of users that belong to the specified group.
=over
=item groupId
=head3 groupId
A unique identifier for the group.
=item recursive
=head3 recursive
A boolean value to determine whether the method should return the users directly in the group or to follow the entire groups of groups hierarchy. Defaults to "0".
=back
=cut
sub getUsersInGroup {
@ -334,18 +302,14 @@ sub getUsersInGroup {
Returns a boolean (0|1) value signifying that the user has the required privileges. Always returns true for Admins.
=over
=item groupId
=head3 groupId
The group that you wish to verify against the user. Defaults to group with Id 3 (the Admin group).
=item userId
=head3 userId
The user that you wish to verify against the group. Defaults to the currently logged in user.
=back
=cut
sub isInGroup {
@ -477,22 +441,18 @@ sub isInGroup {
Returns a 1 or 0 depending upon whether the user is a sub-admin for this group.
=over
=item userId
=head3 userId
An integer that is the unique identifier for a user.
=item groupId
=head3 groupId
An integer that is the unique identifier for a group.
=item value
=head3 value
If specified the admin flag will be set to this value.
=back
=cut
sub userGroupAdmin {
@ -511,22 +471,18 @@ sub userGroupAdmin {
Returns the epoch date that this grouping will expire.
=over
=item userId
=head3 userId
An integer that is the unique identifier for a user.
=item groupId
=head3 groupId
An integer that is the unique identifier for a group.
=item epoch
=head3 epoch
If specified the expire date will be set to this value.
=back
=cut
sub userGroupExpireDate {