[ PHPXref.com ] [ Generated: Sun Jul 20 20:47:44 2008 ] [ TUTOS 1.2 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/php/ -> acl.pinc (summary)

Copyright 1999 - 2004 by Gero Kohnert CVS Info:  $Id: acl.pinc,v 1.63.2.1 2004/10/13 14:13:58 gokohnert Exp $ $Author: gokohnert $

File Size: 507 lines (14 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 19 functions

  acl_default()
  acl_read()
  acl_save()
  acl_delete_obj()
  acl_readdefault()
  acl_savedefault()
  acl_deletedefault()
  acl_ok()
  acl_see_ok()
  acl_use_ok()
  acl_mod_ok()
  acl_del_ok()
  acl_raise()
  acl_lower()
  acl_set()
  acl_link()
  parse_permission_form()
  permission_form()
  acl_action()

Functions
Functions that are not part of a class:

acl_default(&$obj,&$adr)   X-Ref
set the default rights
adr =  current_user or so
obj =  the object that will get the default rights


acl_read(&$obj)   X-Ref
read acl entries for an object


acl_save(&$obj)   X-Ref
save acl entries for an object


acl_delete_obj(&$obj)   X-Ref
delete acl entries for a object to be deleted


acl_readdefault(&$obj)   X-Ref
read defaultacl entries for an object
to be used with $tutos[defaultacl] = 2


acl_savedefault(&$obj)   X-Ref
save acldefault entries for an object
to be used with $tutos[defaultacl] = 2


acl_deletedefault(&$obj)   X-Ref
delete acldefault entries for a object to be deleted
to be used with $tutos[defaultacl] = 2


acl_ok(&$obj,$level)   X-Ref
check access level ( > $level ) to an object


acl_see_ok(&$obj)   X-Ref
check show access ( > 0 ) to an object


acl_use_ok(&$obj)   X-Ref
check use access to an object


acl_mod_ok(&$obj)   X-Ref
check modification access ( > 9 ) to an object


acl_del_ok(&$obj)   X-Ref
check deletion access ( > 19 ) to an object


acl_raise(&$obj,$adr_id,$level)   X-Ref
raise the permissions to given level if below


acl_lower(&$obj,$adr_id,$level)   X-Ref
lower the permissions to given level if above


acl_set(&$obj,$adr_id,$level)   X-Ref
lower the permissions to given level if above


acl_link(&$obj,$text = "")   X-Ref
give a link to change/see acls


parse_permission_form(&$obj)   X-Ref
parse the permissions form provided by the function permission_form


permission_form(&$layout,&$user,&$obj)   X-Ref
HTML form to enter feature permissions


acl_action()   X-Ref
build a massupdate acl link




[ Powered by PHPXref - Served by Debian GNU/Linux ]