original_string: public function get_custom_fields() : array {
          if (!isset($this->record->customfields)) {
              $this->record->customfields = \core_course\customfield\course_handler::create()->get_instance_data($this->id);
          }
          return $this->record->customfields;
      }
code: public function get_custom_fields() : array {
          if (!isset($this->record->customfields)) {
              $this->record->customfields = \core_course\customfield\course_handler::create()->get_instance_data($this->id);
          }
          return $this->record->customfields;
      }
code_tokens: public function get_custom_fields ( ) : array { if ( ! isset ( $ this -> record -> customfields ) ) { $ this -> record -> customfields = \ core_course \ customfield \ course_handler :: create ( ) -> get_instance_data ( $ this -> id ) ; } return $ this -> record -> customfields ; }
docstring: Returns custom fields data for this course
  
  @return \core_customfield\data_controller[]
docstring_tokens: Returns custom fields data for this course