1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 15:00:58 +01:00
phorge-phorge/src/view/phui/PHUIPropertyGroupView.php
Chad Little 97c690fc0f PHUIPropertyListView
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
2013-10-11 07:53:56 -07:00

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;
}
}