Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1836 Revision 1852
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: 1836 $
8
 * @version $Rev: 1852 $
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 1836 2016-12-21 22:48:38Z lars $
17
 * @version $Id: Artikel_to_auspraegung_model.php 1852 2016-12-22 14:12:33Z 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 87... Zeile 87...
87
		$res = $this->db->query($sql);
87
		$res = $this->db->query($sql);
88
		$werte = array();
88
		$werte = array();
89
		$werte = array();
89
		$werte = array();
90
		while ($row = $res->unbuffered_row('array'))
90
		while ($row = $res->unbuffered_row('array'))
91
		{
91
		{
92
			$werte[] = $row["wert"];
92
			$werte[$row["wert"]] = $row["wert"];
93
		}
93
		}
94
		return $werte;
94
		return $werte;
95
	}
95
	}
96
}
96
}