Subversion-Projekte lars-tiefland.ci

Revision

Revision 9 | Revision 13 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

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

class Artikel extends CI_Controller
{

        public function __construct()
        {
                parent::__construct();
                $this->load->model('artikel_model', 'artikel');
        }
        public function view($id)
        {
                $data["artikel"] = $this->artikel->get_artikel($id);
                $this->smarty->view( 'single_artikel.tpl', $data );
        }
}

?>