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

parm_code Class Reference

Manage the table parm_code which contains the custom parameter for the module accountancy. More...


Public Member Functions

 parm_code ($p_cn, $p_id=-1)
 LoadAll ()
 Load all parmCode return an array of parm_code object.
 Save ()
 update a parm_object into the database p_code is _not_ updatable
 Display ()
 Display an object, with the

tag.

 Input ()
 Display a form to enter info about a parm_code object with the

tag.

 Get ()
 Complete a parm_code object thanks the p_code.

Data Fields

 $db
 $p_code
 $p_value
 $p_comment


Detailed Description

Manage the table parm_code which contains the custom parameter for the module accountancy.

Definition at line 30 of file class_parm_code.php.


Constructor & Destructor Documentation

parm_code::parm_code p_cn,
p_id = -1
 

Definition at line 36 of file class_parm_code.php.

References $p_id, and Get().

Referenced by LoadAll().


Member Function Documentation

parm_code::Display  ) 
 

Display an object, with the

tag.

Returns:
string

Definition at line 96 of file class_parm_code.php.

References $r.

parm_code::Get  ) 
 

Complete a parm_code object thanks the p_code.

Returns:
array

Definition at line 141 of file class_parm_code.php.

References $Res, $row, $sql, ExecSql(), p_comment, and p_value.

Referenced by parm_code().

parm_code::Input  ) 
 

Display a form to enter info about a parm_code object with the

tag.

Returns:
string

Definition at line 112 of file class_parm_code.php.

References $comment, $poste, $r, p_comment, and p_value.

parm_code::LoadAll  ) 
 

Load all parmCode return an array of parm_code object.

Returns:
array

Definition at line 52 of file class_parm_code.php.

References $array, $idx, $o, $r, $Res, $sql, ExecSql(), and parm_code().

parm_code::Save  ) 
 

update a parm_object into the database p_code is _not_ updatable

Returns:
nothing

Definition at line 76 of file class_parm_code.php.

References $Res, $sql, ExecSql(), FormatString(), p_comment, and p_value.


Field Documentation

parm_code::$db
 

database connection

Definition at line 31 of file class_parm_code.php.

parm_code::$p_code
 

parm_code.p_code primary key

Definition at line 32 of file class_parm_code.php.

parm_code::$p_comment
 

parm_code.p_comment

Definition at line 34 of file class_parm_code.php.

parm_code::$p_value
 

parm_code.p_value

Definition at line 33 of file class_parm_code.php.


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4