Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93618857
PhabricatorWorkboardActionView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 30, 05:06
Size
709 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 05:06 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22675318
Attached To
rPH Phabricator
PhabricatorWorkboardActionView.php
View Options
<?php
final
class
PhabricatorWorkboardActionView
extends
AphrontView
{
private
$href
;
private
$workflow
;
private
$image
;
public
function
setHref
(
$href
)
{
$this
->
href
=
$href
;
return
$this
;
}
public
function
setWorkflow
(
$workflow
)
{
$this
->
workflow
=
$workflow
;
return
$this
;
}
public
function
setImage
(
$image
)
{
$this
->
image
=
$image
;
}
public
function
render
()
{
return
phutil_tag
(
'a'
,
array
(
'href'
=>
$this
->
href
,
'class'
=>
'phabricator-workboard-action-item-link'
,
'sigil'
=>
$this
->
workflow
?
'workflow'
:
null
,
'style'
=>
'background-image: url('
.
$this
->
image
.
');'
),
''
);
}
}
Event Timeline
Log In to Comment