Subversion-Projekte lars-tiefland.ci

Revision

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

<?php

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

/**
 * Shop
 * 
 * erstellt die Startseite für den Shop
 * 
 * @package WebanOS CI
 * @author Lars Tiefland
 * @copyright 2016
 * @version $Id: Shop.php 528 2016-09-15 11:20:18Z lars $
 * @access public
 */
class Shop extends CI_Controller
{

        /**
         * Shop::__construct()
         * 
         * @return
         */
        public function __construct()
        {
                parent::__construct();
                $this->load->model('Aktion_model','aktion');
                if (ENVIRONMENT == "production")
                {
                        $this->output->cache(120);
                }
        }
        /**
         * Shop::index()
         * 
         * @return
         */
        public function index()
        {
                $aktion = $this->aktion->get_cur_aktion();
                $this->smarty->assign('title', $GLOBALS['INI']['title']['standard'].' - '.$GLOBALS['INI']['titel_only']);
                $this->smarty->assign('aktion',$aktion);
                $this->smarty->view('start.tpl');
        }
}

?>