Navigation

Search

ModifyTopicSettings

Description

Set any setting related to topics.

Syntax

mixed ModifyTopicSettings ([bool $return_config])



Parameter $return_config

Expected type: Boolean
Description: If true, returns the array of config vars. Default is false.



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void If $return_config is false, returns nothing
Array of arrays If $return_config is true, returns the $config_vars array for this area (see ManageServer.php for more info on config vars)


Notes

  • Set any setting related to topics.
  • Requires the admin_forum permission
  • Uses the edit_topic_settings sub template of the Admin template.
  • Accessed from ?action=admin;area=postsettings;sa=topics.
  • Returns the array of config vars if $return_config is true
View all versions of this function