File: /www/wwwroot/oa.sanjiangapp.com/app/team/dashboard/control.php
<?php
/**
* The control file of dashboard module of ZDOO.
*
* @copyright Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Tingting Dai <daitingting@xirangit.com>
* @package dashboard
* @version $Id$
* @link http://www.zdoo.com
*/
class dashboard extends control
{
/**
* Dsahboard index page.
*
* @access public
* @return void
*/
public function index()
{
$appName = $this->app->getAppName();
$entry = $this->loadModel('entry')->getByCode($appName);
$this->view->title = $entry->name;
$this->view->appName = $appName;
$this->display();
}
}