Changeset View
Changeset View
Standalone View
Standalone View
src/view/layout/PHUICurtainPanelView.php
Show All 32 Lines | return array( | ||||
'class' => 'phui-curtain-panel', | 'class' => 'phui-curtain-panel', | ||||
); | ); | ||||
} | } | ||||
protected function getTagContent() { | protected function getTagContent() { | ||||
$header = null; | $header = null; | ||||
$header_text = $this->getHeaderText(); | $header_text = $this->getHeaderText(); | ||||
if (strlen($header_text)) { | if (phutil_nonempty_string($header_text)) { | ||||
$header = phutil_tag( | $header = phutil_tag( | ||||
'div', | 'div', | ||||
array( | array( | ||||
'class' => 'phui-curtain-panel-header', | 'class' => 'phui-curtain-panel-header', | ||||
), | ), | ||||
$header_text); | $header_text); | ||||
} | } | ||||
Show All 14 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0