Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/view/ConpherenceMenuItemView.php
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | public function getTitle() { | ||||
return $this->title; | return $this->title; | ||||
} | } | ||||
protected function getTagName() { | protected function getTagName() { | ||||
return 'a'; | return 'a'; | ||||
} | } | ||||
protected function getTagAttributes() { | protected function getTagAttributes() { | ||||
$classes = array('conpherence-menu-item-view'); | $classes = array(); | ||||
$classes[] = 'conpherence-menu-item-view'; | |||||
$classes[] = 'phui-list-item-href'; | |||||
return array( | return array( | ||||
'class' => $classes, | 'class' => implode(' ', $classes), | ||||
'href' => $this->href, | 'href' => $this->href, | ||||
); | ); | ||||
} | } | ||||
protected function getTagContent() { | protected function getTagContent() { | ||||
$image = null; | $image = null; | ||||
if ($this->imageURI) { | if ($this->imageURI) { | ||||
$image = phutil_tag( | $image = phutil_tag( | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |