|
| | preInsert () |
| |
| | preUpdate () |
| |
| | __construct ($dbaccess= '', $id= '', $res= '', $dbid=0) |
| |
| | Select ($id) |
| |
| | getValues () |
| |
| | affectColumn ($fields, $reset=true) |
| |
| | affect ($array, $more=false, $reset=true) |
| |
| | 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 () |
| |
| | setError ($moreerr= '') |
| |
| | autoUpdate () |
| |
| | savePoint ($point) |
| |
| | lockPoint ($exclusiveLock, $exclusiveLockPrefix= '') |
| |
| | setMasterLock ($useLock) |
| |
| | rollbackPoint ($point) |
| |
| | commitPoint ($point) |
| |
Definition at line 22 of file Class.DocPermExt.php.
| static getPermsForDoc |
( |
|
$docid | ) |
|
|
static |
| static hasExtAclGrant |
( |
|
$docid, |
|
|
|
$accountId, |
|
|
|
$aclName |
|
) |
| |
|
static |
| static isGranted |
( |
|
$userid, |
|
|
|
$acl, |
|
|
|
$profid, |
|
|
|
$strict = false |
|
) |
| |
|
static |
- Parameters
-
| int | $userid | user identifier |
| string | $acl | acl name to control |
| int | $profid | profil identifier |
| bool | $strict | set to true to not use substitute |
- Returns
- int
Definition at line 69 of file Class.DocPermExt.php.
Initial value:= "
create table docpermext (
docid int check (docid > 0),
userid int check (userid > 1),
acl text not null
);
create unique index idx_permext on docpermext(docid, userid,acl);"
Definition at line 43 of file Class.DocPermExt.php.
The documentation for this class was generated from the following file: