Class FrightAdminService

Description

The FrightAdminService provides methods for administrating of Functional rights.

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


			
Method Summary
void changeFright ( $name,  $description, [ $value = 'Y'])
void createFright ( $name,  $description, [ $val = 'Y'])
void createGroupFright ( $groupid,  $fright, [ $val = 'Y'])
void deleteAllGroupFrights ( $id)
void deleteFright ( $id)
void deleteGroupFright ( $groupid,  $fright)
void parseFrightValue ( $value)
Methods
changeFright (line 88)
void changeFright ( $name,  $description, [ $value = 'Y'])
  • $name
  • $description
  • $value
createFright (line 104)

Create an Functional Right with the given Name.

The name must have at least a length of 4 character!

void createFright ( $name,  $description, [ $val = 'Y'])
  • $name
  • $description
  • $val
createGroupFright (line 77)

Create a mapping for a Group to a Functional right.

void createGroupFright ( $groupid,  $fright, [ $val = 'Y'])
  • $groupid
  • $fright
  • $val
deleteAllGroupFrights (line 39)
void deleteAllGroupFrights ( $id)
  • $id
deleteFright (line 57)
void deleteFright ( $id)
  • $id
deleteGroupFright (line 48)
void deleteGroupFright ( $groupid,  $fright)
  • $groupid
  • $fright
parseFrightValue (line 122)

Parses the given Value and returns 'Y' (true) if the given value matches 'Y', in all other cases 'N' (false).

void parseFrightValue ( $value)
  • $value

Documentation generated by phpDocumentor 1.3.1