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');
    }
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');
    }
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' ) ; }
Saves submitted data
Saves submitted data