bigace.classes.right
[ class tree: bigace.classes.right ] [ index: bigace.classes.right ] [ all elements ]

Class: GroupRight

Source Location: /classes/right/GroupRight.php

Class Overview

MasterItemType
   |
   --Itemtype
      |
      --GroupRight

Represents a Right for one Item and Group.


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 30]
Represents a Right for one Item and Group.



[ Top ]


Class Variables

$right =

[line 33]


Type:   mixed


[ Top ]



Class Methods


constructor GroupRight [line 42]

GroupRight GroupRight( int $itemtype, int $group_id, int $itemid)

Load a Item right for a Group.



Parameters:

int   $itemtype   the Itemtype ID
int   $group_id   the Group ID
int   $itemid   the Item ID

[ Top ]

method canDelete [line 122]

boolean canDelete( )

Checks if the Group can delete the given Item.



Tags:

return:  if or if not group is allowed to delete the item


[ Top ]

method canRead [line 100]

boolean canRead( )

Checks if the Group can read the given Item.



Tags:

return:  if or if not group is allowed to read the item


[ Top ]

method canWrite [line 111]

boolean canWrite( )

Checks if the Group can write the given Item.



Tags:

return:  if or if not group is allowed to write the item


[ Top ]

method getGroup [line 89]

Object getGroup( )

Gets a new Group Object linked to this right.



Tags:

return:  the right Group


[ Top ]

method getGroupID [line 77]

int getGroupID( )

Gets the User ID this Right represents.



Tags:

return:  the User ID


[ Top ]

method getItemID [line 66]

int getItemID( )

Gets the Item ID this Right represents.



Tags:

return:  the Item ID


[ Top ]

method getValue [line 143]

void getValue( )



[ Top ]


Documentation generated on Tue, 11 Oct 2005 23:02:05 +0200 by phpDocumentor 1.3.0RC2