35 |
return $this->name; |
return $this->name; |
36 |
} |
} |
37 |
function GetRow($p_start,$p_end) { |
function GetRow($p_start,$p_end) { |
|
if ( $p_start == $p_end ) |
|
|
$cond=" j_tech_per = $p_start "; |
|
|
else |
|
|
$cond = "(j_tech_per >= $p_start and j_tech_per <= $p_end) "; |
|
38 |
|
|
39 |
$Res=ExecSql($this->db,"select fo_id , |
$Res=ExecSql($this->db,"select fo_id , |
40 |
fo_fr_id, |
fo_fr_id, |
52 |
$l_line=pg_fetch_array($Res,$i); |
$l_line=pg_fetch_array($Res,$i); |
53 |
$col[]=ParseFormula($this->db, |
$col[]=ParseFormula($this->db, |
54 |
$l_line['fo_label'], |
$l_line['fo_label'], |
55 |
$l_line['fo_formula'],$cond); |
$l_line['fo_formula'], |
56 |
|
$p_start, |
57 |
|
$p_end |
58 |
|
); |
59 |
|
|
60 |
} //for ($i |
} //for ($i |
61 |
$this->row=$col; |
$this->row=$col; |