Renomage dans tout le code du mot dclaratif de fonction php "Function" (avec F majuscule)

par "function" (avec f minuscule), qui est le mot correct (bien que cela ne gne pas le php,
cela gne doxygen et autres outils d'analyse syntaxique).
This commit is contained in:
Laurent Destailleur
2004-08-07 17:14:42 +00:00
parent ae84ac3bea
commit 88acbc5134
93 changed files with 504 additions and 547 deletions

View File

@@ -24,13 +24,13 @@ class CommandeStats
{
var $db ;
Function CommandeStats($DB, $socidp)
function CommandeStats($DB, $socidp)
{
$this->db = $DB;
$this->socidp = $socidp;
}
Function getNbCommandeByMonthWithPrevYear($year)
function getNbCommandeByMonthWithPrevYear($year)
{
$data1 = $this->getNbCommandeByMonth($year - 1);
$data2 = $this->getNbCommandeByMonth($year);
@@ -49,7 +49,7 @@ class CommandeStats
* Renvoie le nombre de commande par mois pour une ann<6E>e donn<6E>e
*
*/
Function getNbCommandeByMonth($year)
function getNbCommandeByMonth($year)
{
$result = array();
$sql = "SELECT date_format(date_commande,'%m') as dm, count(*) FROM ".MAIN_DB_PREFIX."commande";
@@ -93,7 +93,7 @@ class CommandeStats
* Renvoie le nombre de commande par ann<6E>e
*
*/
Function getNbByYear()
function getNbByYear()
{
$result = array();
$sql = "SELECT date_format(date_commande,'%Y') as dm, count(*), sum(total_ht) FROM ".MAIN_DB_PREFIX."commande WHERE fk_statut > 0";
@@ -121,7 +121,7 @@ class CommandeStats
* Renvoie le nombre de commande par mois pour une ann<6E>e donn<6E>e
*
*/
Function getCommandeAmountByMonth($year)
function getCommandeAmountByMonth($year)
{
$result = array();
$sql = "SELECT date_format(date_commande,'%m') as dm, sum(total_ht) FROM ".MAIN_DB_PREFIX."commande";
@@ -157,7 +157,7 @@ class CommandeStats
* Renvoie le nombre de commande par mois pour une ann<6E>e donn<6E>e
*
*/
Function getCommandeAverageByMonth($year)
function getCommandeAverageByMonth($year)
{
$result = array();
$sql = "SELECT date_format(date_commande,'%m') as dm, avg(total_ht) FROM ".MAIN_DB_PREFIX."commande";