Function Forum_driver_cns->topic_is_threaded
Definitions
sources/forum/cns.php
- Find whether a forum is threaded.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$topic_id | ?integer | No | No | required parameter | N/A | N/A | The topic ID (null: default / from environment) |
Returns
- Whether it is
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether a forum is threaded.
*
* @param ?integer $topic_id The topic ID (null: default / from environment)
* @return boolean Whether it is
*/
public function topic_is_threaded(?int $topic_id) : bool
* Find whether a forum is threaded.
*
* @param ?integer $topic_id The topic ID (null: default / from environment)
* @return boolean Whether it is
*/
public function topic_is_threaded(?int $topic_id) : bool