Function Hook_commandr_fs_chat->__file_read_in_properties

Definitions

sources/hooks/systems/commandr_fs/chat.php

  • Convert properties to variables for adding/editing rooms.
  • 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)

Returns

  • Properties
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert properties to variables for adding/editing rooms.
 *
 * @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)
 * @return array Properties
 */

protected function __file_read_in_properties(string $path, array $properties) : array