Class GroupRight

Description

Represents a Right for one Item and Group.

  • version: $Id: GroupRight.php,v 1.6 2006/11/26 22:04:08 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License


			
Method Summary
GroupRight GroupRight (int $itemtype, int $group_id, int $itemid)
boolean canDelete ()
boolean canRead ()
boolean canWrite ()
int getGroupID ()
int getItemID ()
void getValue ()
Methods
Constructor GroupRight (line 49)

Load a Item right for a Group.

GroupRight GroupRight (int $itemtype, int $group_id, int $itemid)
  • int $itemtype: the Itemtype ID
  • int $group_id: the Group ID
  • int $itemid: the Item ID
canDelete (line 106)

Checks if the Group can delete the given Item.

  • return: if or if not group is allowed to delete the item
boolean canDelete ()
canRead (line 88)

Checks if the Group can read the given Item.

  • return: if or if not group is allowed to read the item
boolean canRead ()
canWrite (line 97)

Checks if the Group can write the given Item.

  • return: if or if not group is allowed to write the item
boolean canWrite ()
getGroupID (line 80)

Gets the Group ID this Right represents.

  • return: the Group ID
int getGroupID ()
getItemID (line 72)

Gets the Item ID this Right represents.

  • return: the Item ID
int getItemID ()
getValue (line 128)

Get the right value.

void getValue ()

Documentation generated by phpDocumentor 1.3.1