original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns the view details link text.
  @return string
docstring_tokens: Returns the view details link text .