Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101758796
DifferentialJIRAIssuesCommitMessageField.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, Feb 13, 10:14
Size
547 B
Mime Type
text/x-php
Expires
Sat, Feb 15, 10:14 (2 d)
Engine
blob
Format
Raw Data
Handle
24225451
Attached To
rPH Phabricator
DifferentialJIRAIssuesCommitMessageField.php
View Options
<?php
final
class
DifferentialJIRAIssuesCommitMessageField
extends
DifferentialCommitMessageField
{
const
FIELDKEY
=
'jira.issues'
;
public
function
getFieldName
()
{
return
pht
(
'JIRA Issues'
);
}
public
function
getFieldAliases
()
{
return
array
(
'JIRA'
,
'JIRA Issue'
,
);
}
public
function
parseFieldValue
(
$value
)
{
return
preg_split
(
'/[
\s
,]+/'
,
$value
,
$limit
=
-
1
,
PREG_SPLIT_NO_EMPTY
);
}
public
function
isFieldEnabled
()
{
return
(
bool
)
PhabricatorJIRAAuthProvider
::
getJIRAProvider
();
}
}
Event Timeline
Log In to Comment