Subversion-Projekte lars-tiefland.ci

Revision

Revision 2310 | Revision 2313 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2310 Revision 2312
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 2310 $
8
 * @version $Rev: 2312 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Logistiker_model extends CI_Model
11
class Logistiker_model extends CI_Model
12
{
12
{
Zeile 73... Zeile 73...
73
		/* Data set length after filtering */
73
		/* Data set length after filtering */
74
		$sQuery = "
74
		$sQuery = "
75
                        SELECT FOUND_ROWS() AS total
75
                        SELECT FOUND_ROWS() AS total
76
                ";
76
                ";
77
		$rResultFilterTotal = $GLOBALS['order_db']->query($sQuery);
77
		$rResultFilterTotal = $GLOBALS['order_db']->query($sQuery);
78
		$aResultFilterTotal = $aResultFilterTotal->unbuffered_row('array');
78
		$aResultFilterTotal = $rResultFilterTotal->unbuffered_row('array');
79
		$iFilteredTotal = $aResultFilterTotal["total"];
79
		$iFilteredTotal = $aResultFilterTotal["total"];
Zeile 80... Zeile 80...
80
 
80
 
81
		/* Total data set length */
81
		/* Total data set length */
82
		$sQuery = "
82
		$sQuery = "
Zeile 92... Zeile 92...
92
                    bl.bestellung = ab.Bestellung
92
                    bl.bestellung = ab.Bestellung
93
                WHERE
93
                WHERE
94
                    exported
94
                    exported
95
                ";
95
                ";
96
		$rResultTotal = $GLOBALS['order_db']->query($sQuery);
96
		$rResultTotal = $GLOBALS['order_db']->query($sQuery);
97
		$aResultTotal = $aResultTotal->unbuffert_row('array');
97
		$aResultTotal = $rResultTotal->unbuffert_row('array');
98
		$iTotal = $aResultTotal["total"];
98
		$iTotal = $aResultTotal["total"];
Zeile 99... Zeile 99...
99
 
99
 
100
 
100