Function Hook_commandr_fs_forums->folder_load

Definitions

sources/hooks/systems/commandr_fs/forums.php

  • Standard Commandr-fs load function for resource-fs hooks. Finds the properties for some resource.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$filename SHORT_TEXT required parameter N/A N/A Filename
$path string required parameter N/A N/A The path (blank: root / not applicable). It may be a wildcarded path, as the path is used for content-type identification only. Filenames are globally unique across a hook; you can calculate the path using ->search.

Return

  • Details of the resource (false: error)
  • Type: ~array
  • Set: N/A
  • Range: N/A