Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F115051045
ManiphestView.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
Thu, May 29, 12:54
Size
389 B
Mime Type
text/x-php
Expires
Sat, May 31, 12:54 (2 d)
Engine
blob
Format
Raw Data
Handle
26442753
Attached To
rPH Phabricator
ManiphestView.php
View Options
<?php
/**
* @group maniphest
*/
abstract
class
ManiphestView
extends
AphrontView
{
public
static
function
renderTagForTask
(
ManiphestTask
$task
)
{
$status
=
$task
->
getStatus
();
$status_name
=
ManiphestTaskStatus
::
getTaskStatusFullName
(
$status
);
return
id
(
new
PhabricatorTagView
())
->
setType
(
PhabricatorTagView
::
TYPE_STATE
)
->
setName
(
$status_name
);
}
}
Event Timeline
Log In to Comment