[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 3 /* 4 * Repräsentiert einen Eintrag in der phpgw_mydms_ACLs für einen User. 5 * Änderungen an der Berechtigung können nicht vorgenommen werden; dafür sind die Klassen Folder und Document selbst 6 * verantwortlich. 7 */ 8 class UserAccess 9 { 10 var $_userID; 11 var $_mode; 12 13 function UserAccess($userID, $mode) 14 { 15 $this->_userID = $userID; 16 $this->_mode = $mode; 17 } 18 19 function getUserID() { return $this->_userID; } 20 21 function getMode() { return $this->_mode; } 22 23 function getUser() 24 { 25 if (!isset($this->_user)) 26 $this->_user = getUser($this->_userID); 27 return $this->_user; 28 } 29 } 30 31 32 class GroupAccess 33 { 34 var $_groupID; 35 var $_mode; 36 37 function GroupAccess($groupID, $mode) 38 { 39 $this->_groupID = $groupID; 40 $this->_mode = $mode; 41 } 42 43 function getGroupID() { return $this->_groupID; } 44 45 function getMode() { return $this->_mode; } 46 47 function getGroup() 48 { 49 if (!isset($this->_group)) 50 $this->_group = getGroup($this->_groupID); 51 return $this->_group; 52 } 53 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |