Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Balance Class Reference

Class for manipulating data to print the balance of account. More...


Public Member Functions

 Balance ($p_cn)
 GetRow ($p_from_periode, $p_to_periode)
 retrieve all the row from the ledger in the range of a periode

Data Fields

 $db
 $central
 $row


Detailed Description

Class for manipulating data to print the balance of account.

Definition at line 29 of file class_balance.php.


Constructor & Destructor Documentation

Balance::Balance p_cn  ) 
 

Definition at line 33 of file class_balance.php.


Member Function Documentation

Balance::GetRow p_from_periode,
p_to_periode
 

retrieve all the row from the ledger in the range of a periode

Parameters:
$p_from_periode start periode
$p_to_periode end periode
Returns:
a double array array of
  • $a['poste']
  • $a['label']
  • $a['sum_deb']
  • $a['sum_cred']
  • $a['solde_deb']
  • $a['solde_cred']

Definition at line 53 of file class_balance.php.

References $a, $array, $i, $M, $r, $Res, $sql, ExecSql(), GetPosteLibelle(), and label.


Field Documentation

Balance::$central
 

Definition at line 31 of file class_balance.php.

Balance::$db
 

Definition at line 30 of file class_balance.php.

Balance::$row
 

Definition at line 32 of file class_balance.php.


The documentation for this class was generated from the following file:
Generated on Sat Jun 24 20:41:34 2006 for phpcompta by  doxygen 1.4.4