Function Forum_driver_smf2->forum_id_from_name
Definitions
sources/forum/smf2.php
- Get the forum ID from a forum name. Numeric forum names are considered to be usable as IDs.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$forum_name | SHORT_TEXT | required parameter | N/A | N/A | The forum name |
Return
- The forum ID (null: not found)
- Type: ?integer
- Set: N/A
- Range: N/A