Changeset View
Changeset View
Standalone View
Standalone View
src/view/phui/PHUIIconView.php
| Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | final class PHUIIconView extends AphrontTagView { | ||||
| } | } | ||||
| public function setIcon($icon, $color = null) { | public function setIcon($icon, $color = null) { | ||||
| $this->iconFont = $icon; | $this->iconFont = $icon; | ||||
| $this->iconColor = $color; | $this->iconColor = $color; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function setColor($color) { | |||||
| $this->iconColor = $color; | |||||
| return $this; | |||||
| } | |||||
| public function getIconName() { | public function getIconName() { | ||||
| return $this->iconFont; | return $this->iconFont; | ||||
| } | } | ||||
| public function setBackground($color) { | public function setBackground($color) { | ||||
| $this->iconBackground = $color; | $this->iconBackground = $color; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 839 Lines • Show Last 20 Lines | |||||