Subversion-Projekte lars-tiefland.ci

Revision

Revision 1418 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1418 Revision 1420
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: 1418 $
8
 * @version $Rev: 1420 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Bestellart_model extends CI_Model
11
class Bestellart_model extends CI_Model
12
{
12
{
13
	public function get_list()
13
	public function get_list()
14
	{
14
	{
15
		$sql="SELECT
15
		$sql="SELECT
16
				id,
16
				id,
17
				name
17
				name
18
			FROM
18
			FROM
19
				berstellart
19
				bestellart
20
		";
20
		";
21
		$res = $GLOBALS["order_db"]->query($sql);
21
		$res = $GLOBALS["order_db"]->query($sql);
22
		$rows = $res->result_array();
22
		$rows = $res->result_array();
23
		return $rows;
23
		return $rows;