Subversion-Projekte lars-tiefland.ci

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

/**
 * User
 * 
 * @package   
 * @author WebanOS CI
 * @copyright Lars Tiefland
 * @version 2016
 * @access public
 */
class Dokuadmin extends CI_Controller
{

        public function __construct()
        {
                parent::__construct();
                $this->load->model('dokumente_model', 'dokumente');
        }
        /**
         * User::index()
         * 
         * @return
         */
        public function index($anker = '')
        {
                $dokumente = $this->dokumente->get_all();
                $this->smarty->assign('dokumente',$dokumente);
                $this->smarty->view('dokuadmin.tpl');
        }
}