Page MenuHomePhorge

PhabricatorProjectDropEffect.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

PhabricatorProjectDropEffect.php

<?php
final class PhabricatorProjectDropEffect
extends Phobject {
private $icon;
private $color;
private $content;
private $conditions = array();
public function setIcon($icon) {
$this->icon = $icon;
return $this;
}
public function getIcon() {
return $this->icon;
}
public function setColor($color) {
$this->color = $color;
return $this;
}
public function getColor() {
return $this->color;
}
public function setContent($content) {
$this->content = $content;
return $this;
}
public function getContent() {
return $this->content;
}
public function toDictionary() {
return array(
'icon' => $this->getIcon(),
'color' => $this->getColor(),
'content' => hsprintf('%s', $this->getContent()),
'conditions' => $this->getConditions(),
);
}
public function addCondition($field, $operator, $value) {
$this->conditions[] = array(
'field' => $field,
'operator' => $operator,
'value' => $value,
);
return $this;
}
public function getConditions() {
return $this->conditions;
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, May 7, 3:24 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
89663
Default Alt Text
PhabricatorProjectDropEffect.php (1 KB)

Event Timeline