/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php

class LOGGROUP {
 var $gid;		// Group identificator
 var $complex;		// Flag indicating if group is complex, set by reader
 var $options;		// Overiddes options from configuration

 function __construct(array &$info, READER $reader = NULL, $flags = 0) {
    if ($flags&REQUEST::CONTROL) {
	if (isset($info["control_group"])) $this->gid = $info["control_group"];
	else $this->gid = false;
    } else {
	if (isset($info["db_group"])) $this->gid = $info["db_group"];
	else $this->gid = false;
    }
    $this->complex = false;
    $this->options = array();
 }

 function MarkComplex() {
    $this->complex = true;
 }
 
 function IsComplex() {
    return $this->complex;
 }

 function GetGroupID() {
    return $this->gid;
 }
 
 function GetProp() {
    return $this->gid;
 }
};


?>