[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/plugins/acl/ -> admin.php (sommaire)

ACL administration functions

Author: Frank Schubert <frank@schokilade.de>
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
Poids: 445 lignes (14 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 lib/plugins/acl/admin.php

Définit 1 class

admin_plugin_acl:: (13 méthodes):
  admin_plugin_acl()
  getInfo()
  getMenuText()
  getMenuSort()
  handle()
  html()
  get_acl_config()
  admin_acl_add()
  admin_acl_del()
  admin_acl_html_dropdown()
  admin_acl_html_new()
  admin_acl_html_current()
  admin_acl_html_checkboxes()


Classe: admin_plugin_acl  - X-Ref

All DokuWiki plugins to extend the admin function
need to inherit from this class

admin_plugin_acl()   X-Ref
Pas de description

getInfo()   X-Ref
return some info


getMenuText($language)   X-Ref
return prompt for admin menu


getMenuSort()   X-Ref
return sort order for position in admin menu


handle()   X-Ref
handle user request


html()   X-Ref
ACL Output function

print a table with all significant permissions for the
current id

author: Frank Schubert <frank@schokilade.de>
author: Andreas Gohr <andi@splitbrain.org>

get_acl_config($id)   X-Ref
Get matching ACL lines for a page

$ID is pagename, reads matching lines from $AUTH_ACL,
also reads acls from namespace
returns multi-array with key=pagename and value=array(user, acl)

author: Frank Schubert <frank@schokilade.de>

admin_acl_add($acl_scope, $acl_user, $acl_level)   X-Ref
adds new acl-entry to conf/acl.auth.php

author: Frank Schubert <frank@schokilade.de>

admin_acl_del($acl_scope, $acl_user)   X-Ref
remove acl-entry from conf/acl.auth.php

author: Frank Schubert <frank@schokilade.de>

admin_acl_html_dropdown($id)   X-Ref
print tablerows with the current permissions for one id

author: Frank Schubert <frank@schokilade.de>
author: Andreas Gohr <andi@splitbrain.org>

admin_acl_html_new()   X-Ref
print tablerows with the current permissions for one id

author: Frank Schubert <frank@schokilade.de>
author: Andreas Gohr <andi@splitbrain.org>

admin_acl_html_current($id,$permissions)   X-Ref
print tablerows with the current permissions for one id

author: Frank Schubert <frank@schokilade.de>
author: Andreas Gohr <andi@splitbrain.org>

admin_acl_html_checkboxes($setperm,$ispage)   X-Ref
print the permission checkboxes

author: Frank Schubert <frank@schokilade.de>
author: Andreas Gohr <andi@splitbrain.org>



Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7