Function Resource_fs_base->search

Definitions

sources/resource_fs_base_class.php

  • Find the foldername/subpath to a resource.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$resource_type ID_TEXT required parameter N/A N/A The resource type
$resource_id ID_TEXT required parameter N/A N/A The resource ID
$full_subpath boolean False N/A N/A Whether to include the full subpath

Return

  • The foldername/subpath (null: not found)
  • Type: ?string
  • Set: N/A
  • Range: N/A