Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1827 Revision 1836
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: 1827 $
8
 * @version $Rev: 1836 $
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: Auspraegung_model.php 1827 2016-12-21 19:17:06Z lars $
17
 * @version $Id: Auspraegung_model.php 1836 2016-12-21 22:48:38Z lars $
18
 * @access public
18
 * @access public
19
 */
19
 */
20
class Auspraegung_model extends CI_Model
20
class Auspraegung_model extends CI_Model
21
{
21
{
Zeile 44... Zeile 44...
44
		$res = $this->db->query($sql);
44
		$res = $this->db->query($sql);
45
		$rows = array();
45
		$rows = array();
46
		while ($row = $res->unbuffered_row('array'))
46
		while ($row = $res->unbuffered_row('array'))
47
		{
47
		{
48
			$row = $this->get($row["id"]);
48
			$row = $this->get($row["id"]);
49
			$rows[]=$row;
49
			$rows[] = $row;
50
		}
50
		}
51
		return $rows;
51
		return $rows;
52
	}
52
	}
Zeile 53... Zeile 53...
53
 
53