Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2889554
PhabricatorProjectDropEffect.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorProjectDropEffect.php
View Options
<?php
final
class
PhabricatorProjectDropEffect
extends
Phobject
{
private
$icon
;
private
$color
;
private
$content
;
private
$conditions
=
array
(
)
;
private
$isTriggerEffect
;
private
$isHeader
;
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
(
)
)
,
'isTriggerEffect'
=>
$this
->
getIsTriggerEffect
(
)
,
'isHeader'
=>
$this
->
getIsHeader
(
)
,
'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
;
}
public
function
setIsTriggerEffect
(
$is_trigger_effect
)
{
$this
->
isTriggerEffect
=
$is_trigger_effect
;
return
$this
;
}
public
function
getIsTriggerEffect
(
)
{
return
$this
->
isTriggerEffect
;
}
public
function
setIsHeader
(
$is_header
)
{
$this
->
isHeader
=
$is_header
;
return
$this
;
}
public
function
getIsHeader
(
)
{
return
$this
->
isHeader
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 12:20 (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124494
Default Alt Text
PhabricatorProjectDropEffect.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment