Function __global->privacy_level_to_binary_settings
Definitions
sources/content_privacy2.php
- Convert a privacy level into the actual binary settings we store in the database.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $privacy_level | string | No | No | required parameter | N/A | N/A | Privacy level |
Returns
- Tuple: member view access, friend view access, guest view access
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a privacy level into the actual binary settings we store in the database.
*
* @param string $privacy_level Privacy level
* @return array Tuple: member view access, friend view access, guest view access
*/
function privacy_level_to_binary_settings(string $privacy_level) : array
* Convert a privacy level into the actual binary settings we store in the database.
*
* @param string $privacy_level Privacy level
* @return array Tuple: member view access, friend view access, guest view access
*/
function privacy_level_to_binary_settings(string $privacy_level) : array

