Class: GroupService

Source Location: /CORE/system/classes/group/GroupService.php

Class GroupService

Class Overview

The GroupService is used for receiving Group dependent information.

Located in /CORE/system/classes/group/GroupService.php [line 37]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: GroupService.php,v 1.5 2007/05/14 21:17:58 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
array   getGroupMember()   Returns an array with
instances.
array   getMemberIDs()   Get all member IDs of the given User Group.
array   getMemberships()   Get all Groups the given Principal is Member of.

[ Top ]
Methods
getGroupMember  [line 80]

  array getGroupMember( $groupID  )

Returns an array with

instances.

Parameters:
   $groupID: 

API Tags:
Return:  all Principals that are member of the given Group


[ Top ]
getMemberIDs  [line 44]

  array getMemberIDs( $groupid  )

Get all member IDs of the given User Group.

Parameters:
   $groupid: 

API Tags:
Return:  an Array with User IDs


[ Top ]
getMemberships  [line 64]

  array getMemberships( Principal $principal  )

Get all Groups the given Principal is Member of.

Parameters:
Principal   $principal:  principal the Principal to get the Memberships for

API Tags:
Return:  an Arry with Group instances


[ Top ]