mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- prefixed class GroupAccess and UserAccess with LetoDMS_
This commit is contained in:
parent
a26a34162e
commit
f18c89ebab
|
@ -23,12 +23,12 @@
|
|||
* dafür sind die Klassen Folder und Document selbst
|
||||
* verantwortlich.
|
||||
*/
|
||||
class UserAccess
|
||||
class LetoDMS_UserAccess
|
||||
{
|
||||
var $_userID;
|
||||
var $_mode;
|
||||
|
||||
function UserAccess($userID, $mode)
|
||||
function LetoDMS_UserAccess($userID, $mode)
|
||||
{
|
||||
$this->_userID = $userID;
|
||||
$this->_mode = $mode;
|
||||
|
@ -47,12 +47,12 @@ class UserAccess
|
|||
}
|
||||
|
||||
|
||||
class GroupAccess
|
||||
class LetoDMS_GroupAccess
|
||||
{
|
||||
var $_groupID;
|
||||
var $_mode;
|
||||
|
||||
function GroupAccess($groupID, $mode)
|
||||
function LetoDMS_GroupAccess($groupID, $mode)
|
||||
{
|
||||
$this->_groupID = $groupID;
|
||||
$this->_mode = $mode;
|
||||
|
|
|
@ -546,9 +546,9 @@ class LetoDMS_Document
|
|||
foreach ($resArr as $row)
|
||||
{
|
||||
if ($row["userID"] != -1)
|
||||
array_push($this->_accessList[$mode]["users"], new UserAccess($row["userID"], $row["mode"]));
|
||||
array_push($this->_accessList[$mode]["users"], new LetoDMS_UserAccess($row["userID"], $row["mode"]));
|
||||
else //if ($row["groupID"] != -1)
|
||||
array_push($this->_accessList[$mode]["groups"], new GroupAccess($row["groupID"], $row["mode"]));
|
||||
array_push($this->_accessList[$mode]["groups"], new LetoDMS_GroupAccess($row["groupID"], $row["mode"]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -658,9 +658,9 @@ class LetoDMS_Folder
|
|||
foreach ($resArr as $row)
|
||||
{
|
||||
if ($row["userID"] != -1)
|
||||
array_push($this->_accessList[$mode]["users"], new UserAccess($row["userID"], $row["mode"]));
|
||||
array_push($this->_accessList[$mode]["users"], new LetoDMS_UserAccess($row["userID"], $row["mode"]));
|
||||
else //if ($row["groupID"] != -1)
|
||||
array_push($this->_accessList[$mode]["groups"], new GroupAccess($row["groupID"], $row["mode"]));
|
||||
array_push($this->_accessList[$mode]["groups"], new LetoDMS_GroupAccess($row["groupID"], $row["mode"]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user