Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1807 Revision 1872
Zeile 4... Zeile 4...
4
{
4
{
5
	public function __construct()
5
	public function __construct()
6
	{
6
	{
7
		parent::__construct();
7
		parent::__construct();
8
		$this->load->model('metatags_model', 'metatags');
8
		$this->load->model('metatags_model', 'metatags');
-
 
9
		$this->load->model('directory_to_auspraegung_model', 'directory_to_auspraegung');
9
	}
10
	}
10
	public function get_list($dir = -1)
11
	public function get_list($dir = -1)
11
	{
12
	{
12
		$sql = "SELECT
13
		$sql = "SELECT
13
				*
14
				*
Zeile 33... Zeile 34...
33
				id=".$id."
34
				id=".$id."
34
		";
35
		";
35
		$res = $this->db->query($sql);
36
		$res = $this->db->query($sql);
36
		$row = $res->unbuffered_row('array');
37
		$row = $res->unbuffered_row('array');
37
		$row["metatags"] = $this->metatags->get($row["ID"], 'directory');
38
		$row["metatags"] = $this->metatags->get($row["ID"], 'directory');
-
 
39
		$row["auspraegungen"] = $this->directory_to_auspraegung->get_list($row["ID"]);
38
		return $row;
40
		return $row;
39
	}
41
	}
Zeile 40... Zeile 42...
40
 
42
 
41
	public function save($daten)
43
	public function save($daten)