Function __global->_translate_dir_access
Definitions
sources/abstract_file_manager.php
- Translate truth about needing world write access to a directory to absolute permissions.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $world_access | boolean | No | No | required parameter | N/A | N/A | Whether world directory access is required |
Returns
- The absolute permission
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Translate truth about needing world write access to a directory to absolute permissions.
*
* @param boolean $world_access Whether world directory access is required
* @return integer The absolute permission
*/
function _translate_dir_access(bool $world_access) : int
* Translate truth about needing world write access to a directory to absolute permissions.
*
* @param boolean $world_access Whether world directory access is required
* @return integer The absolute permission
*/
function _translate_dir_access(bool $world_access) : int

