Subversion-Projekte lars-tiefland.ci

Revision

Revision 528 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
514 lars 1
<?php
2
 
3
/**
4
 * @author Lars Tiefland
5
 * @copyright 2016
6
 */
7
 
520 lars 8
/**
9
 * Serie
10
 *
11
 * erzeugt die Übersicht für eine Serie
12
 *
525 lars 13
 * @package WebanOS CI
14
 * @author Lars Tiefland
15
 * @copyright 2016
16
 * @version $Id: Serie.php 528 2016-09-15 11:20:18Z lars $
520 lars 17
 * @access public
18
 */
514 lars 19
class Serie extends CI_Controller
20
{
520 lars 21
	/**
22
	 * Serie::__construct()
23
	 *
24
	 * @return
25
	 */
514 lars 26
	public function __construct()
27
	{
28
		parent::__construct();
29
		$this->load->model('artikel_model','artikel');
30
	}
31
 
520 lars 32
	/**
33
	 * Serie::view()
34
	 *
35
	 * @param mixed $serien_url
36
	 * @return
37
	 */
514 lars 38
	function view($serien_url)
39
	{
40
		list($serien_id, $tonne) = explode("-", $serien_url);
41
		$items = $this->artikel->serie($serien_id);
42
		$this->smarty->assign('title', $GLOBALS['INI']['title']['standard'].' - '.$GLOBALS['INI']['titel_only']);
43
		$this->smarty->assign("items", $items);
44
		$this->smarty->view('items_serie.tpl');
45
	}
46
 
47
}
48
 
493 lars 49
?>