Subversion-Projekte lars-tiefland.ci

Revision

Revision 514 | Revision 525 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

/**
 * @author Lars Tiefland
 * @copyright 2016
 */

/**
 * Serie
 * 
 * erzeugt die Übersicht für eine Serie
 * 
 * @package   
 * @author WebanOS CI
 * @copyright Lars Tiefland
 * @version 2016
 * @access public
 */
class Serie extends CI_Controller
{
        /**
         * Serie::__construct()
         * 
         * @return
         */
        public function __construct()
        {
                parent::__construct();
                $this->load->model('artikel_model','artikel');
        }

        /**
         * Serie::view()
         * 
         * @param mixed $serien_url
         * @return
         */
        function view($serien_url)
        {
                list($serien_id, $tonne) = explode("-", $serien_url);
                $items = $this->artikel->serie($serien_id);
                $this->smarty->assign('title', $GLOBALS['INI']['title']['standard'].' - '.$GLOBALS['INI']['titel_only']);
                $this->smarty->assign("items", $items);
                $this->smarty->view('items_serie.tpl');
        }

}

?>