mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-10 05:26:06 +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
|
* dafür sind die Klassen Folder und Document selbst
|
||||||
* verantwortlich.
|
* verantwortlich.
|
||||||
*/
|
*/
|
||||||
class UserAccess
|
class LetoDMS_UserAccess
|
||||||
{
|
{
|
||||||
var $_userID;
|
var $_userID;
|
||||||
var $_mode;
|
var $_mode;
|
||||||
|
|
||||||
function UserAccess($userID, $mode)
|
function LetoDMS_UserAccess($userID, $mode)
|
||||||
{
|
{
|
||||||
$this->_userID = $userID;
|
$this->_userID = $userID;
|
||||||
$this->_mode = $mode;
|
$this->_mode = $mode;
|
||||||
|
@ -47,12 +47,12 @@ class UserAccess
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class GroupAccess
|
class LetoDMS_GroupAccess
|
||||||
{
|
{
|
||||||
var $_groupID;
|
var $_groupID;
|
||||||
var $_mode;
|
var $_mode;
|
||||||
|
|
||||||
function GroupAccess($groupID, $mode)
|
function LetoDMS_GroupAccess($groupID, $mode)
|
||||||
{
|
{
|
||||||
$this->_groupID = $groupID;
|
$this->_groupID = $groupID;
|
||||||
$this->_mode = $mode;
|
$this->_mode = $mode;
|
||||||
|
|
|
@ -546,9 +546,9 @@ class LetoDMS_Document
|
||||||
foreach ($resArr as $row)
|
foreach ($resArr as $row)
|
||||||
{
|
{
|
||||||
if ($row["userID"] != -1)
|
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)
|
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)
|
foreach ($resArr as $row)
|
||||||
{
|
{
|
||||||
if ($row["userID"] != -1)
|
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)
|
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