original_string: private function get_author_subheading_html(stdClass $exportedauthor, int $timecreated) : string {
          $fullname = $exportedauthor->fullname;
          $profileurl = $exportedauthor->urls['profile'] ?? null;
          $formatteddate = userdate($timecreated, get_string('strftimedaydatetime', 'core_langconfig'));
          $name = $profileurl ? "<a href=\"{$profileurl}\">{$fullname}</a>" : $fullname;
          $date = "<time>{$formatteddate}</time>";
          return get_string('bynameondate', 'mod_forum', ['name' => $name, 'date' => $date]);
      }
code: private function get_author_subheading_html(stdClass $exportedauthor, int $timecreated) : string {
          $fullname = $exportedauthor->fullname;
          $profileurl = $exportedauthor->urls['profile'] ?? null;
          $formatteddate = userdate($timecreated, get_string('strftimedaydatetime', 'core_langconfig'));
          $name = $profileurl ? "<a href=\"{$profileurl}\">{$fullname}</a>" : $fullname;
          $date = "<time>{$formatteddate}</time>";
          return get_string('bynameondate', 'mod_forum', ['name' => $name, 'date' => $date]);
      }
code_tokens: private function get_author_subheading_html ( stdClass $ exportedauthor , int $ timecreated ) : string { $ fullname = $ exportedauthor -> fullname ; $ profileurl = $ exportedauthor -> urls [ 'profile' ] ?? null ; $ formatteddate = userdate ( $ timecreated , get_string ( 'strftimedaydatetime' , 'core_langconfig' ) ) ; $ name = $ profileurl ? "<a href=\"{$profileurl}\">{$fullname}</a>" : $ fullname ; $ date = "<time>{$formatteddate}</time>" ; return get_string ( 'bynameondate' , 'mod_forum' , [ 'name' => $ name , 'date' => $ date ] ) ; }
docstring: Get the HTML to display as a subheading in a post.
  
  @param stdClass $exportedauthor The exported author object
  @param int $timecreated The post time created timestamp if it's to be displayed
  @return string
docstring_tokens: Get the HTML to display as a subheading in a post .