Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92976003
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
Mon, Nov 25, 07:22
Size
544 B
Mime Type
text/x-php
Expires
Wed, Nov 27, 07:22 (2 d)
Engine
blob
Format
Raw Data
Handle
22549061
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