Plugins  LAST
 All Data Structures Files Functions Variables Pages
Public Member Functions
Amortissement_Sql Class Reference

Manage the table amortissement.amortissement. More...

Inheritance diagram for Amortissement_Sql:
Inheritance graph
Collaboration diagram for Amortissement_Sql:
Collaboration graph

Public Member Functions

 __construct (&$p_cn, $p_id=-1)
 

Detailed Description

Manage the table amortissement.amortissement.

Definition at line 40 of file class_amortissement_sql.php.

Constructor & Destructor Documentation

Amortissement_Sql::__construct ( $p_cn,
  $p_id = -1 
)

Definition at line 44 of file class_amortissement_sql.php.

References $cn, name, and table.

45  {
46  $this->table="amortissement.amortissement";
47  $this->primary_key="a_id";
48  $this->name=array("a_id"=>"a_id",
49  "f_id"=>"f_id"
50  , "account_deb"=>"account_deb"
51  , "account_cred"=>"account_cred"
52  , "a_start"=>"a_start"
53  , "a_amount"=>"a_amount"
54  , "a_nb_year"=>"a_nb_year"
55  , "a_visible"=>"a_visible"
56  , "a_date"=>"a_date"
57  , 'charge'=>'card_deb'
58  , 'amorti'=>'card_cred'
59  );
60  $this->type=array("a_id"=>"numeric",
61  "f_id"=>"numeric"
62  , "account_deb"=>"numeric"
63  , "account_cred"=>"numeric"
64  , "a_start"=>"numeric"
65  , "a_amount"=>"numeric"
66  , "a_nb_year"=>"numeric"
67  , "a_visible"=>"text"
68  , "a_date"=>"date"
69  , 'card_deb'=>'numeric'
70  , 'card_cred'=>'numeric'
71  );
72 
73  $this->date_format='DD.MM.YYYY';
74 
75  $this->default=array(
76  "a_id"=>"auto"
77  );
78  global $cn;
79  parent::__construct($p_cn, $p_id);
80  }
$categorie_appel table
$categorie_appel name
global $cn

The documentation for this class was generated from the following file: