original_string: public function get_title() {
          global $DB;
          $role = $DB->get_record('role', array('id' => $this->role));
          if (!$role) {
              return '['.get_string('roleidnotfound', 'completion', $this->role).']';
          }
          return role_get_name($role, context_course::instance($this->course));
      }
code: public function get_title() {
          global $DB;
          $role = $DB->get_record('role', array('id' => $this->role));
          if (!$role) {
              return '['.get_string('roleidnotfound', 'completion', $this->role).']';
          }
          return role_get_name($role, context_course::instance($this->course));
      }
code_tokens: public function get_title ( ) { global $ DB ; $ role = $ DB -> get_record ( 'role' , array ( 'id' => $ this -> role ) ) ; if ( ! $ role ) { return '[' . get_string ( 'roleidnotfound' , 'completion' , $ this -> role ) . ']' ; } return role_get_name ( $ role , context_course :: instance ( $ this -> course ) ) ; }
docstring: Return criteria title for display in reports
  
  @return string
docstring_tokens: Return criteria title for display in reports