[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4280 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4280 - phpcompta/trunk/include |
Date: |
Sun, 30 Oct 2011 21:02:51 +0100 (CET) |
Author: danydb
Date: 2011-10-30 21:02:50 +0100 (Sun, 30 Oct 2011)
New Revision: 4280
Modified:
phpcompta/trunk/include/class_contact.php
phpcompta/trunk/include/class_fiche.php
Log:
431 Fiche::CountByDef Fiche::count_by_modele
Modified: phpcompta/trunk/include/class_contact.php
===================================================================
--- phpcompta/trunk/include/class_contact.php 2011-10-30 19:32:47 UTC (rev
4279)
+++ phpcompta/trunk/include/class_contact.php 2011-10-30 20:02:50 UTC (rev
4280)
@@ -60,7 +60,7 @@
$script=$_SERVER['PHP_SELF'];
// Creation of the nav bar
// Get the max numberRow
-
$all_contact=$this->CountByDef($this->fiche_def_ref,$p_search,$extra_sql);
+
$all_contact=$this->count_by_modele($this->fiche_def_ref,$p_search,$extra_sql);
// Get offset and page variable
$offset=( isset ($_REQUEST['offset'] )) ?$_REQUEST['offset']:0;
$page=(isset($_REQUEST['page']))?$_REQUEST['page']:1;
Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php 2011-10-30 19:32:47 UTC (rev
4279)
+++ phpcompta/trunk/include/class_fiche.php 2011-10-30 20:02:50 UTC (rev
4280)
@@ -244,7 +244,7 @@
*
* \return array of fiche object
*/
- function CountByDef($p_frd_id,$p_search="",$p_sql="")
+ function count_by_modele($p_frd_id,$p_search="",$p_sql="")
{
$sql="select *
from
@@ -1519,7 +1519,7 @@
if ( $p_amount) $filter_amount=' and f_id in (select f_id from jrnx
where '.$filter_year.')';
-
$all_tiers=$this->CountByDef($this->fiche_def_ref,$p_search,$p_sql.$filter_amount);
+
$all_tiers=$this->count_by_modele($this->fiche_def_ref,$p_search,$p_sql.$filter_amount);
// Get offset and page variable
$offset=( isset ($_REQUEST['offset'] )) ?$_REQUEST['offset']:0;
$page=(isset($_REQUEST['page']))?$_REQUEST['page']:1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4280 - phpcompta/trunk/include,
phpcompta-dev <=