Function Forum_driver_cns->topic_url

Definitions

sources/forum/cns.php

  • Get a URL to the specified topic ID. Most forums don't require the second parameter, but some do, so it is required in the interface.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$topic_id integer required parameter N/A N/A The topic ID
$forum string Blank (empty string) N/A N/A The forum ID
$tempcode_okay boolean False N/A N/A Whether it is okay to return the result using Tempcode (more efficient)

Return

  • The URL to the topic
  • Type: mixed
  • Set: N/A
  • Range: N/A