mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
8434143795
Summary: Ref T6822. Test Plan: `grep` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11368
34 lines
623 B
PHP
34 lines
623 B
PHP
<?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;
|
|
}
|
|
}
|