Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1739 Revision 1746
Zeile 5... Zeile 5...
5
	public function __construct()
5
	public function __construct()
6
	{
6
	{
7
		parent::__construct();
7
		parent::__construct();
8
		$this->load->model('artikel_model', 'artikel');
8
		$this->load->model('artikel_model', 'artikel');
9
		$this->load->model('herstellerkatalog_model', 'hersteller');
9
		$this->load->model('herstellerkatalog_model', 'hersteller');
10
		$this->load->model('metatags_model', 'metatags');
-
 
11
		$this->load->model('preise_model', 'preise');
10
		$this->load->model('preise_model', 'preise');
12
	}
11
	}
Zeile 13... Zeile 12...
13
 
12
 
14
	public function edit($id = null)
13
	public function edit($id = null)
Zeile 50... Zeile 49...
50
	}
49
	}
Zeile 51... Zeile 50...
51
 
50
 
52
	public function save()
51
	public function save()
53
	{
52
	{
54
		$artikel = $this->input->post('artikel');
-
 
55
		$meta = $this->input->post('metatags');
-
 
56
		$preise = $this->input->post('preise');
-
 
57
		$auispraegungen = $this->input->post('auspraegung');
-
 
58
		$optionen = $this->input->post('optionen');
53
		$artikel = $this->input->post('artikel');
59
		$this->artikel->save($artikel);
-
 
60
		$this->metatags->save($meta, 'artikel');
54
		$this->artikel->save($artikel);
61
	}
55
	}