|
| GetGroups () |
|
| SuppressUser ($uid, $nopost=false) |
|
| PostSelect () |
|
| preInsert () |
|
| PostDelete ($uid=0) |
|
| PostInsert () |
|
| FreedomCopyGroup () |
|
| GetAllGroups () |
|
| getChildsGroupId ($pgid="") |
|
| getParentsGroupId ($pgid="", $level=0) |
|
| getDirectParentsGroupId ($pgid="", &$uasid) |
|
| _initAllGroup () |
|
| __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.Group.php.
get ascendant direct group and group of group
Definition at line 185 of file Class.Group.php.
getChildsGroupId |
( |
|
$pgid = "" | ) |
|
get all child (descendant) group of this group
- Returns
- array id
Definition at line 200 of file Class.Group.php.
getDirectParentsGroupId |
( |
|
$pgid = "" , |
|
|
& |
$uasid |
|
) |
| |
get all parent (ascendant) group of this group
- Returns
- array id
Definition at line 247 of file Class.Group.php.
get groups of a user set groups attribute. This attribute containt id of group of a user
- Returns
- bool true if at least one group
Definition at line 52 of file Class.Group.php.
getParentsGroupId |
( |
|
$pgid = "" , |
|
|
|
$level = 0 |
|
) |
| |
get all parent (ascendant) group of this group
- Returns
- array id
Definition at line 223 of file Class.Group.php.
SuppressUser |
( |
|
$uid, |
|
|
|
$nopost = false |
|
) |
| |
suppress a user from the group
- Parameters
-
int | $uid | user identificator to suppress |
- Returns
- string error message
Definition at line 75 of file Class.Group.php.
Initial value:= array(
"iduser",
"idgroup"
)
Definition at line 26 of file Class.Group.php.
Initial value:= "
create table groups ( iduser int not null,
idgroup int not null);
create index groups_idx1 on groups(iduser);
create unique index groups_idx2 on groups(iduser,idgroup);
create trigger t_nogrouploop before insert or update on groups for each row execute procedure nogrouploop();"
Definition at line 37 of file Class.Group.php.
The documentation for this class was generated from the following file: