Function Resource_fs_base->_resource_load_extend
Definitions
sources/resource_fs_base_class.php
- Extend a resource with extra properties from standard features a resource type supports.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $resource_type | ID_TEXT | No | No | required parameter | N/A | N/A | The resource type |
| $resource_id | ID_TEXT | No | No | required parameter | N/A | N/A | The resource ID |
| &$properties | array | Yes | No | required parameter | N/A | N/A | Details of properties |
| $filename | SHORT_TEXT | No | No | required parameter | N/A | N/A | Filename |
| $path | string | No | No | required parameter | N/A | N/A | The path (blank: root / not applicable) |
Preview
Code (PHP)
/**
* Extend a resource with extra properties from standard features a resource type supports.
*
* @param ID_TEXT $resource_type The resource type
* @param ID_TEXT $resource_id The resource ID
* @param array $properties Details of properties
* @param SHORT_TEXT $filename Filename
* @param string $path The path (blank: root / not applicable)
*/
protected function _resource_load_extend(string $resource_type, string $resource_id, array &$properties, string $filename, string $path)
* Extend a resource with extra properties from standard features a resource type supports.
*
* @param ID_TEXT $resource_type The resource type
* @param ID_TEXT $resource_id The resource ID
* @param array $properties Details of properties
* @param SHORT_TEXT $filename Filename
* @param string $path The path (blank: root / not applicable)
*/
protected function _resource_load_extend(string $resource_type, string $resource_id, array &$properties, string $filename, string $path)

