Function __global->get_cache_signature_details
Definitions
sources/caches.php
- Fill in cache signature details from the environment, based on $special_cache_flags.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $special_cache_flags | ?integer | No | No | required parameter | N/A | N/A | Special cache flags (null: none) |
| &$staff_status | ?BINARY | Yes | No | required parameter | N/A | N/A | Staff status to limit to (null: Get from environment) |
| &$member_id | ?MEMBER | Yes | No | required parameter | N/A | N/A | Member to limit to (null: Get from environment) |
| &$groups | ?SHORT_TEXT | Yes | No | required parameter | N/A | N/A | Sorted permissive usergroup list to limit to (null: Get from environment) |
| &$is_bot | ?BINARY | Yes | No | required parameter | N/A | N/A | Bot status to limit to (null: Get from environment) |
| &$timezone | ?MINIID_TEXT | Yes | No | required parameter | N/A | N/A | Timezone to limit to (null: Get from environment) |
| &$theme | ?ID_TEXT | Yes | No | required parameter | N/A | N/A | The theme this is being cached for (null: Get from environment) |
| &$lang | ?LANGUAGE_NAME | Yes | No | required parameter | N/A | N/A | The language this is being cached for (null: Get from environment) |
Preview
Code (PHP)
/**
* Fill in cache signature details from the environment, based on $special_cache_flags.
*
* @param ?integer $special_cache_flags Special cache flags (null: none)
* @param ?BINARY $staff_status Staff status to limit to (null: Get from environment)
* @param ?MEMBER $member_id Member to limit to (null: Get from environment)
* @param ?SHORT_TEXT $groups Sorted permissive usergroup list to limit to (null: Get from environment)
* @param ?BINARY $is_bot Bot status to limit to (null: Get from environment)
* @param ?MINIID_TEXT $timezone Timezone to limit to (null: Get from environment)
* @param ?ID_TEXT $theme The theme this is being cached for (null: Get from environment)
* @param ?LANGUAGE_NAME $lang The language this is being cached for (null: Get from environment)
*/
function get_cache_signature_details(?int $special_cache_flags, ?int &$staff_status, ?int &$member_id, ?string &$groups, ?int &$is_bot, ?string &$timezone, ?string &$theme, ?string &$lang)
* Fill in cache signature details from the environment, based on $special_cache_flags.
*
* @param ?integer $special_cache_flags Special cache flags (null: none)
* @param ?BINARY $staff_status Staff status to limit to (null: Get from environment)
* @param ?MEMBER $member_id Member to limit to (null: Get from environment)
* @param ?SHORT_TEXT $groups Sorted permissive usergroup list to limit to (null: Get from environment)
* @param ?BINARY $is_bot Bot status to limit to (null: Get from environment)
* @param ?MINIID_TEXT $timezone Timezone to limit to (null: Get from environment)
* @param ?ID_TEXT $theme The theme this is being cached for (null: Get from environment)
* @param ?LANGUAGE_NAME $lang The language this is being cached for (null: Get from environment)
*/
function get_cache_signature_details(?int $special_cache_flags, ?int &$staff_status, ?int &$member_id, ?string &$groups, ?int &$is_bot, ?string &$timezone, ?string &$theme, ?string &$lang)
