<?php
/**
 * PESCMS for PHP 5.4+
 *
 * Copyright (c) 2014 PESCMS (http://www.pescms.com)
 *
 * For the full copyright and license information, please view
 * the file LICENSE.md that was distributed with this source code.
 * @core version 2.6
 * @version 1.0
 */


namespace Slice\Team;

/**
 * 后台全局菜单输出
 * Class Login
 */
class Menu extends \Core\Slice\Slice{

    public function before() {
        $this->assign('title',\Model\Menu::getTitleWithMenu()['menu_name']);
        $this->assign('menu', \Model\Menu::menu($this->session()->get('team')['user_group_id']));
    }

    public function after() {
    }


}