示例#1
0
 public function initialize()
 {
     parent::initialize();
     $this->view->pick('user');
 }
示例#2
0
 /**
  * This initializes the timezone in each request
  */
 public function initialize()
 {
     $this->view->hotPosts = Posts::getHotPosts();
     parent::initialize();
 }
示例#3
0
 /**
  * This initializes the timezone in each request
  */
 public function initialize()
 {
     parent::initialize();
     $editor = new Editor();
     $editor->init();
 }