Class mosAuthoriser

Description

Main file for Mambo

Located in /includes/mambo.php (line 17)


	
			
Variable Summary
Method Summary
 mosAuthoriser mosAuthoriser ()
 void accessorPermissionOrControl ( $mask,  $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
 void checkControl ( $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
 void checkGrant ( $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
 void checkPermission ( $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
 void checkRoleControl ( $role,  $action,  $s_type,  $s_id)
 void checkRoleGrant ( $role,  $action,  $s_type,  $s_id)
 void checkRolePermission ( $role,  $action,  $s_type,  $s_id)
 void doSQL ( $sql)
 void getAccessorData ( $type,  $id)
 void &getInstance ()
 void &getRoles ( $type,  $id)
 void &listPermissions ( $a_type,  $a_id,  $action,  $property)
 void rolePermissionOrControl ( $mask,  $role,  $action,  $s_type,  $s_id)
Variables
mixed $assignments = array() (line 21)
mixed $connection = '' (line 18)
mixed $permissions = array() (line 20)
mixed $perm_found (line 19)
Methods
Constructor mosAuthoriser (line 23)
mosAuthoriser mosAuthoriser ()
accessorPermissionOrControl (line 65)
void accessorPermissionOrControl ( $mask,  $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
  • $mask
  • $a_type
  • $a_id
  • $action
  • $s_type
  • $s_id
checkControl (line 82)
void checkControl ( $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
  • $a_type
  • $a_id
  • $action
  • $s_type
  • $s_id
checkGrant (line 86)
void checkGrant ( $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
  • $a_type
  • $a_id
  • $action
  • $s_type
  • $s_id
checkPermission (line 78)
void checkPermission ( $a_type,  $a_id,  $action, [ $s_type = '*'], [ $s_id = '*'])
  • $a_type
  • $a_id
  • $action
  • $s_type
  • $s_id
checkRoleControl (line 110)
void checkRoleControl ( $role,  $action,  $s_type,  $s_id)
  • $role
  • $action
  • $s_type
  • $s_id
checkRoleGrant (line 114)
void checkRoleGrant ( $role,  $action,  $s_type,  $s_id)
  • $role
  • $action
  • $s_type
  • $s_id
checkRolePermission (line 106)
void checkRolePermission ( $role,  $action,  $s_type,  $s_id)
  • $role
  • $action
  • $s_type
  • $s_id
doSQL (line 35)
void doSQL ( $sql)
  • $sql
getAccessorData (line 43)
void getAccessorData ( $type,  $id)
  • $type
  • $id
getInstance (line 27)
void &getInstance ()
getRoles (line 54)
void &getRoles ( $type,  $id)
  • $type
  • $id
listPermissions (line 118)
void &listPermissions ( $a_type,  $a_id,  $action,  $property)
  • $a_type
  • $a_id
  • $action
  • $property
rolePermissionOrControl (line 90)
void rolePermissionOrControl ( $mask,  $role,  $action,  $s_type,  $s_id)
  • $mask
  • $role
  • $action
  • $s_type
  • $s_id

Documentation generated on Mon, 05 May 2008 16:20:56 +0400 by phpDocumentor 1.4.0