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

Class: RightAdminService

Source Location: /classes/right/RightAdminService.php

Class Overview

MasterItemType
   |
   --Itemtype
      |
      --RightAdminService

With this you administrate all Rights.


Methods


Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 36]
With this you administrate all Rights.

You have full writing access to the DB table by using the given interface.




[ Top ]


Class Methods


constructor RightAdminService [line 45]

RightAdminService RightAdminService( String $itemtype)

This initalizes the AdminService with the correct DB Table



Tags:

access:  public


Parameters:

String   $itemtype   the table to use to administrate Rights

[ Top ]

method changeRight [line 103]

void changeRight( mixed $group_id, mixed $itemid, mixed $value)



[ Top ]

method checkForExistence [line 92]

boolean checkForExistence( int $group_id, int $itemid)

Checks if a Right exists for the given User and Item ID.



Tags:

return:  the Result of the Query (false if no right exists else true)
access:  public


Parameters:

int   $group_id   the Item ID that should be checked
int   $itemid   the User ID that should be checked

[ Top ]

method createGroupRight [line 133]

void createGroupRight( mixed $group_id, mixed $itemid, mixed $value)



[ Top ]

method createRightCopy [line 114]

void createRightCopy( mixed $parent, mixed $child)



[ Top ]

method deleteGroupRight [line 74]

Object deleteGroupRight( int $group_id, int $itemid)

Delete the special right entry that belong to the given Group and Item.



Tags:

return:  the DB Result
access:  public


Parameters:

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

[ Top ]

method deleteItemRights [line 57]

Object deleteItemRights( int $itemid)

Delete all right entrys that belong to the given Item ID



Tags:

return:  the DB Result
access:  public


Parameters:

int   $itemid   the Item ID

[ Top ]


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