示例#1
0
 protected function startup()
 {
     parent::startup();
     $this->user->getStorage()->setNamespace('admin');
 }
示例#2
0
 protected function beforeRender()
 {
     parent::beforeRender();
     $this->template->nav = $this->nav->all();
 }
示例#3
0
文件: Login.php 项目: netis-cms/netis
 protected function beforeRender()
 {
     parent::beforeRender();
     $this->template->setTranslator($this->getTranslator());
 }
示例#4
0
 protected function beforeRender()
 {
     parent::beforeRender();
     $this->template->me = $this->me;
 }