Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93158665
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
Tue, Nov 26, 16:03
Size
709 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 16:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22586093
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