Function CMS_Topic->inject_feed_url

Definitions

sources/topics.php

  • Put comments RSS link into environment.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$forum ID_TEXT No No required parameter N/A N/A The forum we are working in
$type ID_TEXT No No required parameter N/A N/A The content type the comments are for
$id ID_TEXT No No required parameter N/A N/A The content ID the comments are for

Preview

Code (PHP)

/**
 * Put comments RSS link into environment.
 *
 * @param  ID_TEXT $forum The forum we are working in
 * @param  ID_TEXT $type The content type the comments are for
 * @param  ID_TEXT $id The content ID the comments are for
 */

public function inject_feed_url(string $forum, string $type, string $id)