3 final class PHUICurtainPanelView
extends AphrontTagView
{
8 public function setHeaderText($header_text) {
9 $this->headerText
= $header_text;
13 public function getHeaderText() {
14 return $this->headerText
;
17 public function setOrder($order) {
18 $this->order
= $order;
22 public function getOrder() {
26 public function getOrderVector() {
27 return id(new PhutilSortVector())
28 ->addInt($this->getOrder());
31 protected function getTagAttributes() {
33 'class' => 'phui-curtain-panel',
37 protected function getTagContent() {
40 $header_text = $this->getHeaderText();
41 if (strlen($header_text)) {
45 'class' => 'phui-curtain-panel-header',
53 'class' => 'phui-curtain-panel-body',
55 $this->renderChildren());