Function CMSPermissionsScannerLinux->output_issue
Definitions
sources/file_permissions_check.php
- Create an issue message.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$path | PATH | No | No | required parameter | N/A | N/A | The path the message is about |
$result_type | integer | No | No | required parameter | N/A | N/A | A RESULT_TYPE_* constant |
$operator | string | No | No | required parameter | + - | N/A | The operator involved |
$perms_involved_octal | integer | No | No | required parameter | N/A | N/A | The permissions the issue is about |
Returns
- A pair: The message, A command (which may be null)
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Create an issue message.
*
* @param PATH $path The path the message is about
* @param integer $result_type A RESULT_TYPE_* constant
* @param string $operator The operator involved
* @set + -
* @param integer $perms_involved_octal The permissions the issue is about
* @return array A pair: The message, A command (which may be null)
*/
protected function output_issue(string $path, int $result_type, string $operator, int $perms_involved_octal) : array
* Create an issue message.
*
* @param PATH $path The path the message is about
* @param integer $result_type A RESULT_TYPE_* constant
* @param string $operator The operator involved
* @set + -
* @param integer $perms_involved_octal The permissions the issue is about
* @return array A pair: The message, A command (which may be null)
*/
protected function output_issue(string $path, int $result_type, string $operator, int $perms_involved_octal) : array