Function Module_admin_permissions->build_content_item_tree

Definitions

adminzone/pages/modules/admin_permissions.php

  • Build a flattened tree showing content items of a particular type.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$filters ?array required parameter N/A N/A Filter to only these save IDs (for testing) (null: no filter)
$group_id AUTO_LINK required parameter N/A N/A The usergroup ID
$overridables array required parameter N/A N/A Output of content type module's get_privilege_overrides function
$hook_ob object required parameter N/A N/A The content type object
$info array required parameter N/A N/A The content type info map
$max integer required parameter N/A N/A Maximum number of items to show from any one content type

Return

  • List of item maps, ready for template
  • Type: array
  • Set: N/A
  • Range: N/A