Beispiel #1
0
 public function before()
 {
     parent::before();
     if (empty($this->blog_id)) {
         $this->back_url = Route::url('modules', array('controller' => $this->controller_name['entity']));
         $this->request->current()->redirect($this->back_url);
     }
     $this->filter_type_options = array('all' => __('all'), 'own' => __('own'));
 }
Beispiel #2
0
 public function before()
 {
     parent::before();
     $this->filter_type_options = array('all' => __('all'), 'own' => __('own'));
 }