Function Forum_driver_cns->_forum_url
Definitions
sources/forum/cns.php
- Get a URL to the specified forum.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$forum_id | integer | No | No | required parameter | N/A | N/A | The forum ID |
$tempcode_okay | boolean | No | No | False | N/A | N/A | Whether it is okay to return the result using Tempcode (more efficient) |
Returns
- The URL to the specified forum
- Type: mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a URL to the specified forum.
*
* @param integer $forum_id The forum ID
* @param boolean $tempcode_okay Whether it is okay to return the result using Tempcode (more efficient)
* @return mixed The URL to the specified forum
*/
protected function _forum_url(int $forum_id, bool $tempcode_okay = false)
* Get a URL to the specified forum.
*
* @param integer $forum_id The forum ID
* @param boolean $tempcode_okay Whether it is okay to return the result using Tempcode (more efficient)
* @return mixed The URL to the specified forum
*/
protected function _forum_url(int $forum_id, bool $tempcode_okay = false)