Function Hook_commandr_fs_forums->_has_parent_child_relationship
Definitions
sources/hooks/systems/commandr_fs/forums.php
- Find whether a kind of resource handled by this hook (folder or file) can be under a particular kind of folder.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$above | ?ID_TEXT | required parameter | N/A | N/A | Folder resource type (null: root) |
$under | ID_TEXT | required parameter | N/A | N/A | Resource type (may be file or folder) |
Return
- A map: The parent referencing field, the table it is in, and the ID field of that table (null: cannot be under)
- Type: ?array
- Set: N/A
- Range: N/A