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

preference.php File Reference

include file for the periode form, currency,... More...

Go to the source code of this file.

Functions

 FormPeriodeMult ($p_cn)
 Generate the form for the periode.
 FormPeriode ($p_cn, $l_default=0, $p_type=OPEN, $p_suff="")
 Generate the form for the periode.
 GetPeriode ($p_cn, $p_periode)
 Give the start & end date of a periode.
 PeriodeClosed ($p_cn, $p_periode)
 get the status of a periode
 GetExercice ($p_cn, $p_periode)
 get the exercice of a periode
 ShowDevise ($p_cn)
 Show all the currency encoded.
 ShowPeriode ($p_cn)
 Show all the periode and their status.


Detailed Description

include file for the periode form, currency,...

Definition in file preference.php.


Function Documentation

FormPeriode p_cn,
l_default = 0,
p_type = OPEN,
p_suff = ""
 

Generate the form for the periode.

Parameters:
$p_cn connexion
$p_default default periode
$p_type the type of the periode
$p_suff the suffix of the name
Returns:
string containing html code for the HTML

Definition at line 71 of file preference.php.

References $l_line, $Max, $Res, $ret, $sql, and ExecSql().

FormPeriodeMult p_cn  ) 
 

Generate the form for the periode.

FormPeriodeMult

Parameters:
$p_cn connexion
Returns:
string containing html code for the form

Definition at line 37 of file preference.php.

References $l_line, $Max, $Res, $ret, $sql, and ExecSql().

Referenced by ViewImp().

GetExercice p_cn,
p_periode
 

get the exercice of a periode

Parameters:
$p_cn connection
$p_periode periode
Returns:
Exercice of the periode

Definition at line 165 of file preference.php.

References $Res, and ExecSql().

GetPeriode p_cn,
p_periode
 

Give the start & end date of a periode.

GetPeriode

Parameters:
p_connection 
p_periode 
Returns:
array containing the start date & the end date

Definition at line 122 of file preference.php.

References $Res, $sql, and ExecSql().

Referenced by FormAchInput(), FormFin(), FormODS(), FormVenInput(), RecordJrn(), VerifData(), and VerifyOperationDate().

PeriodeClosed p_cn,
p_periode
 

get the status of a periode

Parameters:
$p_cn database connex
periode id
Returns:
true if closed

Definition at line 143 of file preference.php.

References $l_line, $Res, $sql, and ExecSql().

Referenced by VerifData(), and VerifyOperationDate().

ShowDevise p_cn  ) 
 

Show all the currency encoded.

Parameters:
$p_cn database connextion
Returns:
nothing

Definition at line 182 of file preference.php.

References $l_line, $Max, $Res, ExecSql(), and METHOD.

ShowPeriode p_cn  ) 
 

Show all the periode and their status.

Parameters:
$p_cn database connection
Returns:
nothing

Definition at line 221 of file preference.php.

References $l_line, $Max, $Res, echo_debug(), ExecSql(), and METHOD.


Generated on Fri Jun 23 00:12:47 2006 for phpcompta by  doxygen 1.4.4