Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110327246
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
Fri, Apr 25, 19:43
Size
375 B
Mime Type
text/x-php
Expires
Sun, Apr 27, 19:43 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25760950
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
PHUITagView
())
->
setType
(
PHUITagView
::
TYPE_STATE
)
->
setName
(
$status_name
);
}
}
Event Timeline
Log In to Comment