original_string: public function get_category_name() {
          global $DB;
          if ($this->categoryname === null) {
              $this->categoryname = $DB->get_field('user_info_category', 'name', ['id' => $this->field->categoryid]);
          }
          return $this->categoryname;
      }
code: public function get_category_name() {
          global $DB;
          if ($this->categoryname === null) {
              $this->categoryname = $DB->get_field('user_info_category', 'name', ['id' => $this->field->categoryid]);
          }
          return $this->categoryname;
      }
code_tokens: public function get_category_name ( ) { global $ DB ; if ( $ this -> categoryname === null ) { $ this -> categoryname = $ DB -> get_field ( 'user_info_category' , 'name' , [ 'id' => $ this -> field -> categoryid ] ) ; } return $ this -> categoryname ; }
docstring: Returns the name of the profile category where this field is
  
  @return string
docstring_tokens: Returns the name of the profile category where this field is