Function Hook_commandr_fs_groups->get_resources_count

Definitions

sources/hooks/systems/commandr_fs/groups.php

  • Standard Commandr-fs function for seeing how many resources are. Useful for determining whether to do a full rebuild.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$resource_type ID_TEXT required parameter N/A N/A The resource type

Return

  • How many resources there are
  • Type: integer
  • Set: N/A
  • Range: N/A