Function CMSPermissionsScanner->message_prefix
Definitions
sources/file_permissions_check.php
- Generate a message prefix, based on whether we are only showing messages of one level or not.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$prefix | string | No | No | required parameter | N/A | N/A | The raw prefix |
Returns
- The prefix
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Generate a message prefix, based on whether we are only showing messages of one level or not.
*
* @param string $prefix The raw prefix
* @return string The prefix
*/
protected function message_prefix(string $prefix) : string
* Generate a message prefix, based on whether we are only showing messages of one level or not.
*
* @param string $prefix The raw prefix
* @return string The prefix
*/
protected function message_prefix(string $prefix) : string