Changeset View
Changeset View
Standalone View
Standalone View
src/view/layout/PhabricatorActionView.php
Show All 15 Lines | final class PhabricatorActionView extends AphrontView { | ||||
private $openInNewWindow; | private $openInNewWindow; | ||||
private $submenu = array(); | private $submenu = array(); | ||||
private $hidden; | private $hidden; | ||||
private $depth; | private $depth; | ||||
private $id; | private $id; | ||||
private $order; | private $order; | ||||
private $color; | private $color; | ||||
private $type; | private $type; | ||||
private $highlight; | |||||
const TYPE_DIVIDER = 'type-divider'; | const TYPE_DIVIDER = 'type-divider'; | ||||
const TYPE_LABEL = 'label'; | const TYPE_LABEL = 'label'; | ||||
const RED = 'action-item-red'; | const RED = 'action-item-red'; | ||||
public function setSelected($selected) { | public function setSelected($selected) { | ||||
$this->selected = $selected; | $this->selected = $selected; | ||||
return $this; | return $this; | ||||
Show All 35 Lines | public function addSigil($sigil) { | ||||
$this->sigils[] = $sigil; | $this->sigils[] = $sigil; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getHref() { | public function getHref() { | ||||
return $this->href; | return $this->href; | ||||
} | } | ||||
public function setHighlight($highlight) { | |||||
$this->highlight = $highlight; | |||||
return $this; | |||||
} | |||||
public function getHighlight() { | |||||
return $this->highlight; | |||||
} | |||||
public function setIcon($icon) { | public function setIcon($icon) { | ||||
$this->icon = $icon; | $this->icon = $icon; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function setName($name) { | public function setName($name) { | ||||
$this->name = $name; | $this->name = $name; | ||||
return $this; | return $this; | ||||
▲ Show 20 Lines • Show All 289 Lines • Show Last 20 Lines |