protected function submitEditDashboard()
    {
        if ($this->isPosted('save')) {
            $this->validateEditDashboard();
            $this->saveDashboard();
        } else if ($this->isPosted('delete') && isset($this->data_dashboard['dashboard_id'])) {
            $this->deleteDashboard();
        }
    }
protected function submitEditDashboard()
    {
        if ($this->isPosted('save')) {
            $this->validateEditDashboard();
            $this->saveDashboard();
        } else if ($this->isPosted('delete') && isset($this->data_dashboard['dashboard_id'])) {
            $this->deleteDashboard();
        }
    }
protected function submitEditDashboard ( ) { if ( $ this -> isPosted ( 'save' ) ) { $ this -> validateEditDashboard ( ) ; $ this -> saveDashboard ( ) ; } else if ( $ this -> isPosted ( 'delete' ) && isset ( $ this -> data_dashboard [ 'dashboard_id' ] ) ) { $ this -> deleteDashboard ( ) ; } }
Handles an array of submitted data
Handles an array of submitted data