Function Module_topics->redirect_to

Definitions

forum/pages/modules/topics.php

  • Do a redirection page to a certain topic/post (because we've just done an action and want to go back).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$_title ID_TEXT required parameter N/A N/A The language string codename for the title to use in the page
$topic_id AUTO_LINK required parameter N/A N/A The ID of the topic to redirect to
$lang ?mixed Null N/A N/A What to output (string or Tempcode) (null: default)
$post_id ?AUTO_LINK Null N/A N/A The ID of the post to redirect to (null: redirect to topic instead)

Return

  • The UI
  • Type: Tempcode
  • Set: N/A
  • Range: N/A