|
| preSelect ($tid) |
|
| preInsert () |
|
| preUpdate () |
|
| resetComputed ($docid="") |
|
| getUperm ($docid, $userid) |
|
| recomputeControl () |
|
| ControlU ($pos) |
|
| ControlG ($pos) |
|
| ControlUp ($pos) |
|
| ControlUn ($pos) |
|
| ControlMask ($acl, $pos) |
|
| UnSetControl () |
|
| SetControlP ($pos) |
|
| UnSetControlP ($pos) |
|
| SetControlN ($pos) |
|
| UnSetControlN ($pos) |
|
| __construct ($dbaccess= '', $id= '', $res= '', $dbid=0) |
|
| Select ($id) |
|
| getValues () |
|
| AffectColumn ($fields) |
|
| Affect ($array) |
|
| isAffected () |
|
| Complete () |
|
| PreInsert () |
|
| PostInsert () |
|
| PreUpdate () |
|
| PostUpdate () |
|
| PreDelete () |
|
| PostDelete () |
|
| PreSelect ($id) |
|
| PostSelect ($id) |
|
| Add ($nopost=false, $nopre=false) |
|
| Modify ($nopost=false, $sfields="", $nopre=false) |
|
| Delete ($nopost=false) |
|
| Adds (&$tcopy, $nopost=false) |
|
| lw ($prop) |
|
| CloseConnect () |
|
| Create ($nopost=false) |
|
| PostInit () |
|
| init_dbid () |
|
| exec_query ($sql, $lvl=0, $prepare=false) |
|
| numrows () |
|
| fetch_array ($c, $type=PGSQL_ASSOC) |
|
| Update () |
|
| savePoint ($point) |
|
| rollbackPoint ($point) |
|
| commitPoint ($point) |
|
Definition at line 24 of file Class.DocPerm.php.
ControlMask |
( |
|
$acl, |
|
|
|
$pos |
|
) |
| |
getUperm |
( |
|
$docid, |
|
|
|
$userid |
|
) |
| |
resetComputed |
( |
|
$docid = "" | ) |
|
reinitialize computed acl
- Parameters
-
integer | $docid | docid acl to reset |
Definition at line 82 of file Class.DocPerm.php.
set negative ACL in specified position
- Parameters
-
int | $pos | column number (0 is the first right column) |
Definition at line 178 of file Class.DocPerm.php.
set positive ACL in specified position
- Parameters
-
int | $pos | column number (0 is the first right column) |
Definition at line 161 of file Class.DocPerm.php.
unset negative ACL in specified position
- Parameters
-
int | $pos | column number (0 is the first right column) |
Definition at line 187 of file Class.DocPerm.php.
unset positive ACL in specified position
- Parameters
-
int | $pos | column number (0 is the first right column) |
Definition at line 170 of file Class.DocPerm.php.
Initial value:= array(
"docid",
"userid",
"upacl",
"unacl",
"cacl"
)
Definition at line 26 of file Class.DocPerm.php.
Initial value:= "
create table docperm (
docid int check (docid > 0),
userid int check (userid > 1),
upacl int not null,
unacl int not null,
cacl int not null
);
create unique index idx_perm on docperm(docid, userid);
create trigger tinitacl AFTER INSERT OR UPDATE ON docperm FOR EACH ROW EXECUTE PROCEDURE initacl();"
Definition at line 47 of file Class.DocPerm.php.
Initial value:= array(
"getuperm(userid,docid) as uperm"
)
Definition at line 34 of file Class.DocPerm.php.
The documentation for this class was generated from the following file: