@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 50 lines 815 B view raw
1<?php 2 3final class PhabricatorIconSetIcon 4 extends Phobject { 5 6 private $key; 7 private $icon; 8 private $label; 9 private $isDisabled; 10 11 public function setKey($key) { 12 $this->key = $key; 13 return $this; 14 } 15 16 public function getKey() { 17 return $this->key; 18 } 19 20 public function setIcon($icon) { 21 $this->icon = $icon; 22 return $this; 23 } 24 25 public function getIcon() { 26 if ($this->icon === null) { 27 return $this->getKey(); 28 } 29 return $this->icon; 30 } 31 32 public function setIsDisabled($is_disabled) { 33 $this->isDisabled = $is_disabled; 34 return $this; 35 } 36 37 public function getIsDisabled() { 38 return $this->isDisabled; 39 } 40 41 public function setLabel($label) { 42 $this->label = $label; 43 return $this; 44 } 45 46 public function getLabel() { 47 return $this->label; 48 } 49 50}