Function Forum_driver_cns->get_member_from_username
Definitions
sources/forum/cns.php
- Get a member ID from the given member's username. If there is no match and the input is numeric, it will also try it as a member ID.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$username | SHORT_TEXT | required parameter | N/A | N/A | The username |
Return
- The member ID (null: not found)
- Type: ?MEMBER
- Set: N/A
- Range: N/A