Function CMSPermissionsScannerWindows->generate_disable_inheritance_command
Definitions
sources/file_permissions_check.php
- Generate a command to remove permission inheritance.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$path | PATH | No | No | required parameter | N/A | N/A | The path the command is for |
Returns
- Chmod command
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Generate a command to remove permission inheritance.
*
* @param PATH $path The path the command is for
* @return string Chmod command
*/
protected function generate_disable_inheritance_command(string $path) : string
* Generate a command to remove permission inheritance.
*
* @param PATH $path The path the command is for
* @return string Chmod command
*/
protected function generate_disable_inheritance_command(string $path) : string