private function get_view_details_text() {
        if ($this->based_on_assumptions()) {
            $analyserclass = $this->get_analyser_class();
            if ($analyserclass::one_sample_per_analysable()) {
                $detailstext = get_string('viewinsightdetails', 'analytics');
            } else {
                $detailstext = get_string('viewdetails', 'analytics');
            }
        } else {
            $detailstext = get_string('viewprediction', 'analytics');
        }

        return $detailstext;
    }
private function get_view_details_text() {
        if ($this->based_on_assumptions()) {
            $analyserclass = $this->get_analyser_class();
            if ($analyserclass::one_sample_per_analysable()) {
                $detailstext = get_string('viewinsightdetails', 'analytics');
            } else {
                $detailstext = get_string('viewdetails', 'analytics');
            }
        } else {
            $detailstext = get_string('viewprediction', 'analytics');
        }

        return $detailstext;
    }
private function get_view_details_text ( ) { if ( $ this -> based_on_assumptions ( ) ) { $ analyserclass = $ this -> get_analyser_class ( ) ; if ( $ analyserclass :: one_sample_per_analysable ( ) ) { $ detailstext = get_string ( 'viewinsightdetails' , 'analytics' ) ; } else { $ detailstext = get_string ( 'viewdetails' , 'analytics' ) ; } } else { $ detailstext = get_string ( 'viewprediction' , 'analytics' ) ; } return $ detailstext ; }
Returns the view details link text.
@return string
Returns the view details link text .