Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1882 Revision 2240
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: 1882 $
8
 * @version $Rev: 2240 $
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: Directory_to_auspraegung_model.php 1882 2016-12-22 18:16:27Z lars $
17
 * @version $Id: Directory_to_auspraegung_model.php 2240 2017-12-24 22:39:40Z lars $
18
 * @access public
18
 * @access public
19
 */
19
 */
20
class Directory_to_auspraegung_model extends CI_Model
20
class Directory_to_auspraegung_model extends CI_Model
21
{
21
{
Zeile 44... Zeile 44...
44
			WHERE
44
			WHERE
45
				directory=".$dir."
45
				directory=".$dir."
46
		";
46
		";
47
		$res = $this->db->query($sql);
47
		$res = $this->db->query($sql);
48
		$rows = array();
48
		$rows = array();
49
		while ($row = $res->unbuffered_row('array'))
49
		while ($arow = $res->unbuffered_row('array'))
50
		{
50
		{
51
			$row = $this->auspraegung->get($row["id"]);
51
			$row = $this->auspraegung->get($arow["id"]);
52
			$row["wertebereich"] = $this->get_werte($row["id"], $dir, false);
52
			$row["wertebereich"] = $this->get_werte($arow["id"], $dir, false);
53
			$rows[] = $row;
53
			$rows[] = $row;
54
		}
54
		}
55
		return $rows;
55
		return $rows;
56
	}
56
	}