original_string: protected function saveDashboard()
      {
          $this->controlAccess('dashboard_edit');
  
          if ($this->dashboard->set($this->uid, $this->getSubmitted())) {
              $this->redirect('', $this->text('Your dashboard has been updated'), 'success');
          }
  
          $this->redirect('', $this->text('Your dashboard has not been updated'), 'warning');
      }
code: protected function saveDashboard()
      {
          $this->controlAccess('dashboard_edit');
  
          if ($this->dashboard->set($this->uid, $this->getSubmitted())) {
              $this->redirect('', $this->text('Your dashboard has been updated'), 'success');
          }
  
          $this->redirect('', $this->text('Your dashboard has not been updated'), 'warning');
      }
code_tokens: protected function saveDashboard ( ) { $ this -> controlAccess ( 'dashboard_edit' ) ; if ( $ this -> dashboard -> set ( $ this -> uid , $ this -> getSubmitted ( ) ) ) { $ this -> redirect ( '' , $ this -> text ( 'Your dashboard has been updated' ) , 'success' ) ; } $ this -> redirect ( '' , $ this -> text ( 'Your dashboard has not been updated' ) , 'warning' ) ; }
docstring: Saves submitted data
docstring_tokens: Saves submitted data