Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1821 Revision 1822
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: 1821 $
8
 * @version $Rev: 1822 $
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 1821 2016-12-18 19:45:15Z lars $
17
 * @version $Id: Artikel_to_auspraegung_model.php 1822 2016-12-18 19:46:19Z 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 46... Zeile 46...
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
		{
50
			$row = $this->get($row["id"]);
50
			$row = $this->get($row["id"]);
51
			$rows[$row["auspraeung"]][] = $row;
51
			$rows[$row["auspraegung"]][] = $row;
52
		}
52
		}
53
		return $rows;
53
		return $rows;
54
	}
54
	}
Zeile 55... Zeile 55...
55
 
55