mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 01:32:42 +01:00
97c690fc0f
Summary: This builds out and implements PHUIPropertyListView (container) and PHUIPropertyListItemView (section) as well as adding tabs. Test Plan: Tested each page I edited with the exception of Releeph and Phortune, though those changes look ok to me diff wise. Updated examples page with tabs. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7283
24 lines
432 B
PHP
24 lines
432 B
PHP
<?php
|
|
|
|
final class PHUIPropertyGroupView extends AphrontTagView {
|
|
|
|
private $items;
|
|
|
|
public function addPropertyList(PHUIPropertyListView $item) {
|
|
$this->items[] = $item;
|
|
}
|
|
|
|
protected function canAppendChild() {
|
|
return false;
|
|
}
|
|
|
|
protected function getTagAttributes() {
|
|
return array(
|
|
'class' => 'phui-property-list-view',
|
|
);
|
|
}
|
|
|
|
protected function getTagContent() {
|
|
return $this->items;
|
|
}
|
|
}
|