Function Forum_driver_smf2->find_topic_id_for_topic_identifier
Definitions
sources/forum/smf2.php
- Get the topic ID from a topic identifier in the specified forum. It is used by comment topics, which means that the unique-topic-name assumption holds valid.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$forum | string | required parameter | N/A | N/A | The forum name / ID |
$topic_identifier | SHORT_TEXT | required parameter | N/A | N/A | The topic identifier |
Return
- The topic ID (null: not found)
- Type: ?integer
- Set: N/A
- Range: N/A