Changeset View
Changeset View
Standalone View
Standalone View
src/view/phui/PHUIListItemView.php
Show All 23 Lines | final class PHUIListItemView extends AphrontTagView { | ||||
private $selected; | private $selected; | ||||
private $disabled; | private $disabled; | ||||
private $renderNameAsTooltip; | private $renderNameAsTooltip; | ||||
private $statusColor; | private $statusColor; | ||||
private $order; | private $order; | ||||
private $aural; | private $aural; | ||||
private $profileImage; | private $profileImage; | ||||
public function setDropdownMenu(PhabricatorActionListView $actions) { | |||||
Javelin::initBehavior('phui-dropdown-menu'); | |||||
$this->addSigil('phui-dropdown-menu'); | |||||
$this->setMetadata( | |||||
array( | |||||
'items' => $actions, | |||||
)); | |||||
return $this; | |||||
} | |||||
public function setAural($aural) { | public function setAural($aural) { | ||||
$this->aural = $aural; | $this->aural = $aural; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getAural() { | public function getAural() { | ||||
return $this->aural; | return $this->aural; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |