Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
PHP
1234567891011121314151617181920212223242526272829303132333435<?php
final class PHUIStatusListView extends AphrontTagView {
private $items;
public function addItem(PHUIStatusItemView $item) { $this->items[] = $item; return $this; }
protected function canAppendChild() { return false; }
protected function getTagName() { return 'table'; }
protected function getTagAttributes() { require_celerity_resource('phui-status-list-view-css');
$classes = array(); $classes[] = 'phui-status-list-view';
return array( 'class' => implode(' ', $classes), ); }
protected function getTagContent() { return $this->items; }}