Function Hook_commandr_fs_groups->__folder_read_in_properties
Definitions
sources/hooks/systems/commandr_fs/groups.php
- Convert properties to variables for adding/editing usergroups.
- 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 | string | No | No | required parameter | N/A | N/A | The path (blank: root / not applicable) |
| $properties | array | No | No | required parameter | N/A | N/A | Properties (may be empty, properties given are open to interpretation by the hook but generally correspond to database fields) |
| $edit | boolean | No | No | required parameter | N/A | N/A | Is an edit |
Returns
- Properties
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert properties to variables for adding/editing usergroups.
*
* @param string $path The path (blank: root / not applicable)
* @param array $properties Properties (may be empty, properties given are open to interpretation by the hook but generally correspond to database fields)
* @param boolean $edit Is an edit
* @return array Properties
*/
protected function __folder_read_in_properties(string $path, array $properties, bool $edit) : array
* Convert properties to variables for adding/editing usergroups.
*
* @param string $path The path (blank: root / not applicable)
* @param array $properties Properties (may be empty, properties given are open to interpretation by the hook but generally correspond to database fields)
* @param boolean $edit Is an edit
* @return array Properties
*/
protected function __folder_read_in_properties(string $path, array $properties, bool $edit) : array

