Function __global->may_view_content_behind
Definitions
sources/content.php
- Given a particular bit of feedback content, check if the user may access it.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$member_id | MEMBER | required parameter | N/A | N/A | User to check |
$content_type | ID_TEXT | required parameter | N/A | N/A | Content type |
$content_id | ID_TEXT | required parameter | N/A | N/A | Content ID |
$type_has | ID_TEXT | content_type | N/A | N/A | Type of content type / ID |
Return
- Whether there is permission
- Type: boolean
- Set: N/A
- Range: N/A