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 - recursion function.
  • 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)
$overridables array required parameter N/A N/A Output of content type module's get_privilege_overrides function
$group_category_access array required parameter N/A N/A List of category access rows
$_group_privileges array required parameter N/A N/A Database data of privileges for the content type
$save_id_stub string required parameter N/A N/A Stub of save ID we'll be using
$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
$row array required parameter N/A N/A Row for point in recursion
$rows array required parameter N/A N/A All rows
$depth integer 1 N/A N/A Current recursion depth

Return

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