Changeset View
Changeset View
Standalone View
Standalone View
src/view/phui/PHUITwoColumnView.php
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | protected function getTagAttributes() { | ||||
if ($this->tabs) { | if ($this->tabs) { | ||||
$classes[] = 'with-tabs'; | $classes[] = 'with-tabs'; | ||||
} | } | ||||
if ($this->subheader) { | if ($this->subheader) { | ||||
$classes[] = 'with-subheader'; | $classes[] = 'with-subheader'; | ||||
} | } | ||||
if (!$this->header) { | |||||
$classes[] = 'without-header'; | |||||
} | |||||
return array( | return array( | ||||
'class' => implode(' ', $classes), | 'class' => implode(' ', $classes), | ||||
); | ); | ||||
} | } | ||||
protected function getTagContent() { | protected function getTagContent() { | ||||
require_celerity_resource('phui-two-column-view-css'); | require_celerity_resource('phui-two-column-view-css'); | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |