$type, 'text' => $type, 'href' => $href, )); } echo elgg_view_menu('developers_inspect_viewtype', array( 'class' => 'elgg-tabs mbm', )); if ($global_hooks) { array_walk($global_hooks, function (&$hook) { $id = "z" . md5($hook); $hook = "$hook"; }); echo "

" . elgg_echo("developers:inspect:views:all_filtered") . " "; echo implode(' | ', $global_hooks); echo "

"; } echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $last_view = ''; foreach ($views as $view => $components) { /* @var \Elgg\Debug\Inspector\ViewComponent[] $components */ $view_id = $make_id($view); $rowspan = count($components); if (in_array($view, $filtered_views)) { $rowspan += 1; $id = "z" . md5("view,$view"); $link = "view,$view"; $col2 = elgg_echo('developers:inspect:views:filtered', array($link)); $extra_row = ""; } else { $extra_row = ""; } foreach ($components as $priority => $component) { $file = $strip($component->getFile()); echo ""; if ($view !== $last_view) { echo ""; $last_view = $view; } if (0 === strpos($priority, "o:")) { echo ""; echo ""; } elseif ($priority != 500) { $href = $make_id($component->view); echo ""; $link = elgg_view('admin/develop_tools/inspect/views/view_link', array( 'view' => $component->view, 'text' => $file, )); echo ""; } else { echo ""; echo ""; } echo ""; } echo $extra_row; } echo "
" . elgg_echo('developers:inspect:views') . "" . elgg_echo('developers:inspect:priority') . "" . elgg_echo('developers:inspect:file_location') . "
 $col2
$viewover$file$priority$link$priority$file
";