Example #1
0
 /**
  * The after() method is called after controller action.
  *
  * @uses  Route::url
  */
 public function after()
 {
     $this->_tabs = array(array('link' => Route::get('admin/blog')->uri(array('action' => 'index')), 'text' => __('Statistics')), array('link' => Route::get('admin/blog')->uri(array('action' => 'list')), 'text' => __('List')), array('link' => Route::get('admin/blog')->uri(array('action' => 'settings')), 'text' => __('Settings')));
     parent::after();
 }
Example #2
0
 /**
  * The after() method is called after controller action
  *
  * @uses  Route::get
  * @uses  Route::uri
  */
 public function after()
 {
     $this->_tabs = array(array('link' => Route::get('admin/comment')->uri(array('action' => 'list')), 'text' => __('Approved')), array('link' => Route::get('admin/comment')->uri(array('action' => 'pending')), 'text' => __('Pending')), array('link' => Route::get('admin/comment')->uri(array('action' => 'spam')), 'text' => __('Spam')));
     parent::after();
 }