Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1812 Revision 1815
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: 1812 $
8
 * @version $Rev: 1815 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
/**
11
/**
12
 * Auspraegung_model
12
 * Auspraegung_model
13
 * 
13
 * 
14
 * @package WebanOS CI
14
 * @package WebanOS CI
15
 * @author Lars Tiefland
15
 * @author Lars Tiefland
16
 * @copyright 2016
16
 * @copyright 2016
17
 * @version $Id: Artikel_to_auspraegung_model.php 1812 2016-12-15 19:30:00Z lars $
17
 * @version $Id: Artikel_to_auspraegung_model.php 1815 2016-12-16 19:12:46Z lars $
18
 * @access public
18
 * @access public
19
 */
19
 */
20
class Artikel_to_auspraegung_model extends CI_Model
20
class Artikel_to_auspraegung_model extends CI_Model
21
{
21
{
Zeile 39... Zeile 39...
39
		$sql = "SELECT
39
		$sql = "SELECT
40
				id
40
				id
41
			FROM
41
			FROM
42
				artikel_to_auspraegung
42
				artikel_to_auspraegung
43
			WHERE
43
			WHERE
44
				artikel_id=".$artikel."
44
				artikel=".$artikel."
45
		";
45
		";
46
		$res = $this->db->query($sql);
46
		$res = $this->db->query($sql);
47
		$rows = array();
47
		$rows = array();
48
		while ($row = $res->unbuffered_row('array'))
48
		while ($row = $res->unbuffered_row('array'))
49
		{
49
		{