Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1702 Revision 1729
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');
10
	}
11
	}
Zeile 11... Zeile 12...
11
 
12
 
12
	public function edit($id = null)
13
	public function edit($id = null)
13
	{
14
	{
Zeile 46... Zeile 47...
46
	}
47
	}
Zeile 47... Zeile 48...
47
 
48
 
48
	public function save()
49
	public function save()
49
	{
50
	{
50
		$artikel = $this->input->post('artikel');
51
		$artikel = $this->input->post('artikel');
51
		$meta = $this->input->post('metatgs');
52
		$meta = $this->input->post('metatags');
52
		$preise = $this->input->post('preise');
53
		$preise = $this->input->post('preise');
53
		$auispraegungen = $this->input->post('auspraegung');
54
		$auispraegungen = $this->input->post('auspraegung');
54
		$optionen = $this->input->post('optionen');
55
		$optionen = $this->input->post('optionen');
-
 
56
		$this->artikel->save($artikel);
55
		$this->artikel->save($artikel);
57
		$this->metatags->save($meta, 'artikel');
56
	}
58
	}