Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80914518
ManiphestCustomFieldStatusParser.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, Sep 3, 05:47
Size
544 B
Mime Type
text/x-php
Expires
Thu, Sep 5, 05:47 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20399581
Attached To
rPH Phabricator
ManiphestCustomFieldStatusParser.php
View Options
<?php
final
class
ManiphestCustomFieldStatusParser
extends
PhabricatorCustomFieldMonogramParser
{
protected
function
getPrefixes
()
{
return
array_keys
(
ManiphestTaskStatus
::
getStatusPrefixMap
());
}
protected
function
getInfixes
()
{
return
array
(
'task'
,
'tasks'
,
'issue'
,
'issues'
,
'bug'
,
'bugs'
,
);
}
protected
function
getSuffixes
()
{
return
array_keys
(
ManiphestTaskStatus
::
getStatusSuffixMap
());
}
protected
function
getMonogramPattern
()
{
return
'[tT]
\d
+'
;
}
}
Event Timeline
Log In to Comment