Function Forum_driver_base->forum_url
Definitions
sources/forum_stub.php
- Get a URL to a forum.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$id | integer | No | No | required parameter | N/A | N/A | The ID of the forum |
$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
- Type: mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a URL to a forum.
*
* @param integer $id The ID of the forum
* @param boolean $tempcode_okay Whether it is okay to return the result using Tempcode (more efficient)
* @return mixed The URL
*/
public function forum_url(int $id, bool $tempcode_okay = false)
* Get a URL to a forum.
*
* @param integer $id The ID of the forum
* @param boolean $tempcode_okay Whether it is okay to return the result using Tempcode (more efficient)
* @return mixed The URL
*/
public function forum_url(int $id, bool $tempcode_okay = false)