Function Hook_commandr_fs_catalogues->__folder_read_in_properties_category
Definitions
sources/hooks/systems/commandr_fs/catalogues.php
- Convert properties to variables for adding/editing catalogue categories.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
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 (false: error)
- Type: ~array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert properties to variables for adding/editing catalogue categories.
*
* @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 (false: error)
*/
protected function __folder_read_in_properties_category(string $path, array $properties, bool $edit)
* Convert properties to variables for adding/editing catalogue categories.
*
* @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 (false: error)
*/
protected function __folder_read_in_properties_category(string $path, array $properties, bool $edit)
