Member
in package
Member Utilities
Utility functions related to members
Table of Contents
Methods
- findMemberImage() : array<string|int, mixed>
- Find Member Image
Methods
findMemberImage()
Find Member Image
public
static findMemberImage(string $pid[, bool $smallonly = false ][, bool|string $substitute_missing = false ]) : array<string|int, mixed>
Return the member's image and associated information.
Parameters
- $pid : string
-
The member's ID.
- $smallonly : bool = false
-
Should the function only return a small sized image?
- $substitute_missing : bool|string = false
-
Should the function substitute a placeholder if no image can be found?
Return values
array<string|int, mixed> —Array of the member's image URL and image size.