Differential D12390 Diff 31157 src/applications/conpherence/controller/ConpherenceUpdateController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceUpdateController.php
Show First 20 Lines • Show All 544 Lines • ▼ Show 20 Lines | private function loadAndRenderUpdates( | ||||
} | } | ||||
$data = $conpherence->getDisplayData($user); | $data = $conpherence->getDisplayData($user); | ||||
$dropdown_query = id(new AphlictDropdownDataQuery()) | $dropdown_query = id(new AphlictDropdownDataQuery()) | ||||
->setViewer($user); | ->setViewer($user); | ||||
$dropdown_query->execute(); | $dropdown_query->execute(); | ||||
$content = array( | $content = array( | ||||
'non_update' => $non_update, | 'non_update' => $non_update, | ||||
'transactions' => hsprintf('%s', $rendered_transactions), | 'transactions' => hsprintf('%s', $rendered_transactions), | ||||
'conpherence_title' => (string) $data['title'], | 'conpherence_title' => (string)$data['title'], | ||||
'latest_transaction_id' => $new_latest_transaction_id, | 'latest_transaction_id' => $new_latest_transaction_id, | ||||
'nav_item' => $nav_item, | 'nav_item' => $nav_item, | ||||
'conpherence_phid' => $conpherence->getPHID(), | 'conpherence_phid' => $conpherence->getPHID(), | ||||
'header' => $header, | 'header' => $header, | ||||
'file_widget' => $file_widget, | 'file_widget' => $file_widget, | ||||
'people_widget' => $people_widget, | 'people_widget' => $people_widget, | ||||
'aphlictDropdownData' => array( | 'aphlictDropdownData' => array( | ||||
$dropdown_query->getNotificationData(), | $dropdown_query->getNotificationData(), | ||||
$dropdown_query->getConpherenceData(), | $dropdown_query->getConpherenceData(), | ||||
), | ), | ||||
); | ); | ||||
return $content; | return $content; | ||||
} | } | ||||
} | } |