Function Forum_driver_ipb3->get_member_photo_url
Definitions
sources/forum/ipb3.php
- Get the photo URL for the specified member ID.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$member_id | MEMBER | No | No | required parameter | N/A | N/A | The member ID |
$full | boolean | No | No | False | N/A | N/A | Get full photo |
Returns
- The URL (blank: none)
- Type: URLPATH
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the photo URL for the specified member ID.
*
* @param MEMBER $member_id The member ID
* @param boolean $full Get full photo
* @return URLPATH The URL (blank: none)
*/
public function get_member_photo_url(int $member_id, bool $full = false) : string
* Get the photo URL for the specified member ID.
*
* @param MEMBER $member_id The member ID
* @param boolean $full Get full photo
* @return URLPATH The URL (blank: none)
*/
public function get_member_photo_url(int $member_id, bool $full = false) : string