Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F114847648
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
Wed, May 28, 02:35
Size
389 B
Mime Type
text/x-php
Expires
Fri, May 30, 02:35 (3 h, 50 m)
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