Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / view / phui / PHUIStatusListView.php
blob433efc9610dd073d60611d64677bf736344f8ee2
1 <?php
3 final class PHUIStatusListView extends AphrontTagView {
5 private $items;
7 public function addItem(PHUIStatusItemView $item) {
8 $this->items[] = $item;
9 return $this;
12 protected function canAppendChild() {
13 return false;
16 protected function getTagName() {
17 return 'table';
20 protected function getTagAttributes() {
21 require_celerity_resource('phui-status-list-view-css');
23 $classes = array();
24 $classes[] = 'phui-status-list-view';
26 return array(
27 'class' => implode(' ', $classes),
31 protected function getTagContent() {
32 return $this->items;