Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1400 Revision 1402
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: 1400 $
8
 * @version $Rev: 1402 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Order_model extends CI_Model
11
class Order_model extends CI_Model
12
{
12
{
Zeile 529... Zeile 529...
529
		";
529
		";
530
		$res = $GLOBALS['order_db']->query($sql);
530
		$res = $GLOBALS['order_db']->query($sql);
531
		while ($order = $res->unbuffered_row('array'))
531
		while ($order = $res->unbuffered_row('array'))
532
		{
532
		{
533
			$order = $this->get($order['id']);
533
			$order = $this->get($order['id']);
534
			$et["orders"][] = $order;
534
			$ret["orders"][] = $order;
535
		}
535
		}
536
		$sql = "SELECT
536
		$sql = "SELECT
537
				FOUND_ROWS() AS total
537
				FOUND_ROWS() AS total
538
		";
538
		";
539
		$res = $GLOBALS["order_db"]->query($sql);
539
		$res = $GLOBALS["order_db"]->query($sql);