-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
isAccessiblePM
Description
Checks whether the specified PM is accessible to the current user.
Syntax
bool isAccessiblePM (int $pmID[, string $validFor])
Parameter $pmID
Expected type: Integer
Description: The ID of the PM
Parameter $validFor
Expected type: Enumerated String
Description: A string indicating which box the message is valid for.
Possible string values Allowed values Description 'inbox' Only valid for the inbox 'in_or_outbox' Valid for either (default value) 'outbox' Only valid for the outbox (sent items)
Return value
Expected type: Boolean
Description: True if it is available, false otherwise
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.014 seconds with 13 queries.
- Forum Search