[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
eGroupWare - resources
License: | http://www.gnu.org/licenses/gpl.html GNU General Public License |
Version: | $Id: class.bo_acl.inc.php 20258 2006-01-17 16:49:46Z nelius_weiss $ |
Poids: | 210 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
bo_acl:: (9 méthodes):
bo_acl()
get_cats()
get_cat_name()
get_cat_admin()
is_permitted()
get_rights()
save_sessiondata()
read_sessiondata()
set_rights()
bo_acl($session=False) X-Ref |
get_cats($perm_type) X-Ref |
get list of cats where current user has given rights author: Cornelius Weiss <egw@von-und-zu-weiss.de> param: int $perm_type one of EGW_ACL_READ, EGW_ACL_ADD, EGW_ACL_EDIT, EGW_ACL_DELETE, EGW_ACL_DIRECT_BOOKING return: array cat_id => cat_name |
get_cat_name($cat_id) X-Ref |
gets name of category author: Lukas Weiss <wnz.gh05t@users.sourceforge.net> param: int $cat_id return: mixed name of category |
get_cat_admin($cat_id) X-Ref |
gets userid of admin for given category author: Cornelius Weiss <egw@von-und-zu-weiss.de> param: int $cat_id return: int userid of cat admin |
is_permitted($cat_id,$right) X-Ref |
cheks one of the following rights for current user: EGW_ACL_READ, EGW_ACL_ADD, EGW_ACL_EDIT, EGW_ACL_DELETE, EGW_ACL_DIRECT_BOOKING param: int $cat_id param: int $right return: bool user is permitted or not for right |
get_rights($cat_id) X-Ref |
gets all rights from all user for given cat param: int $cat_id return: array userid => right |
save_sessiondata() X-Ref |
Pas de description |
read_sessiondata() X-Ref |
Pas de description |
set_rights($cat_id,$read,$write,$calread,$calbook,$admin) X-Ref |
Pas de description |
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |