Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1871 Revision 1874
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: 1871 $
8
 * @version $Rev: 1874 $
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 1871 2016-12-22 16:39:37Z lars $
17
 * @version $Id: Directory_to_auspraegung_model.php 1874 2016-12-22 16:53:14Z 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 39... Zeile 39...
39
		$sql = "SELECT DISTINCT
39
		$sql = "SELECT DISTINCT
40
				auspraegung AS id
40
				auspraegung AS id
41
			FROM
41
			FROM
42
				directory_to_auspraegung
42
				directory_to_auspraegung
43
			WHERE
43
			WHERE
44
				directory_id=".$dir."
44
				directory=".$dir."
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
		{