Changeset View
Changeset View
Standalone View
Standalone View
src/view/phui/PHUIWorkpanelView.php
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | public function addHeaderAction(PHUIIconView $action) { | ||||
return $this; | return $this; | ||||
} | } | ||||
public function setHeaderTag(PHUITagView $tag) { | public function setHeaderTag(PHUITagView $tag) { | ||||
$this->headerTag = $tag; | $this->headerTag = $tag; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getTagAttributes() { | protected function getTagAttributes() { | ||||
return array( | return array( | ||||
'class' => 'phui-workpanel-view', | 'class' => 'phui-workpanel-view', | ||||
); | ); | ||||
} | } | ||||
public function getTagContent() { | protected function getTagContent() { | ||||
require_celerity_resource('phui-workpanel-view-css'); | require_celerity_resource('phui-workpanel-view-css'); | ||||
$classes = array(); | $classes = array(); | ||||
$classes[] = 'phui-workpanel-view-inner'; | $classes[] = 'phui-workpanel-view-inner'; | ||||
$footer = ''; | $footer = ''; | ||||
if ($this->footerAction) { | if ($this->footerAction) { | ||||
$footer_tag = $this->footerAction; | $footer_tag = $this->footerAction; | ||||
$footer = phutil_tag( | $footer = phutil_tag( | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |