Differential D20397 Diff 48688 src/applications/dashboard/engine/PhabricatorDashboardRenderingEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/engine/PhabricatorDashboardRenderingEngine.php
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | foreach ($panel_grid_locations as $column => $panel_column_locations) { | ||||
| $panel_phids = array_unique($panel_phids); | $panel_phids = array_unique($panel_phids); | ||||
| $column_result = array(); | $column_result = array(); | ||||
| foreach ($panel_phids as $panel_phid) { | foreach ($panel_phids as $panel_phid) { | ||||
| $panel_engine = id(new PhabricatorDashboardPanelRenderingEngine()) | $panel_engine = id(new PhabricatorDashboardPanelRenderingEngine()) | ||||
| ->setViewer($viewer) | ->setViewer($viewer) | ||||
| ->setDashboardID($dashboard->getID()) | ->setDashboardID($dashboard->getID()) | ||||
| ->setEnableAsyncRendering(true) | ->setEnableAsyncRendering(true) | ||||
| ->setContextObject($dashboard) | |||||
| ->setPanelPHID($panel_phid) | ->setPanelPHID($panel_phid) | ||||
| ->setParentPanelPHIDs(array()) | ->setParentPanelPHIDs(array()) | ||||
| ->setHeaderMode($h_mode) | ->setHeaderMode($h_mode) | ||||
| ->setEditMode($is_editable) | ->setEditMode($is_editable) | ||||
| ->setPanelHandle($handles[$panel_phid]); | ->setPanelHandle($handles[$panel_phid]); | ||||
| $panel = idx($panels, $panel_phid); | $panel = idx($panels, $panel_phid); | ||||
| if ($panel) { | if ($panel) { | ||||
| ▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines | |||||