Class: ItemRightEnumeration

Source Location: /CORE/system/classes/right/ItemRightEnumeration.php

Class ItemRightEnumeration

Class Overview

The ItemRightEnumeration holds methods for receiving infos about all registered Rights for the given Item.

Located in /CORE/system/classes/right/ItemRightEnumeration.php [line 38]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: ItemRightEnumeration.php,v 1.5 2006/11/26 22:04:08 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
ItemRightEnumeration   ItemRightEnumeration()   Holds method for receiving all Rights that exists for one Item.
void   countRights()  
Object   getNextRight()   Gets the next Right for the inialized Item ID

[ Top ]
Methods
Constructor ItemRightEnumeration  [line 51]

  ItemRightEnumeration ItemRightEnumeration( String $itemtype, int $itemid  )

Holds method for receiving all Rights that exists for one Item.

Parameters:
String   $itemtype:  the Table Name to get Rights from
int   $itemid:  the Item ID to get Rights for


[ Top ]
countRights  [line 66]

  void countRights( )



[ Top ]
getNextRight  [line 80]

  Object getNextRight( )

Gets the next Right for the inialized Item ID


API Tags:
Return:  the next Right as Right Object


[ Top ]