Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2895716
DifferentialAuditorsCommitMessageField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
DifferentialAuditorsCommitMessageField.php
View Options
<?php
final
class
DifferentialAuditorsCommitMessageField
extends
DifferentialCommitMessageCustomField
{
const
FIELDKEY
=
'phabricator:auditors'
;
public
function
getFieldName
(
)
{
return
pht
(
'Auditors'
)
;
}
public
function
getFieldAliases
(
)
{
return
array
(
'Auditor'
,
)
;
}
public
function
parseFieldValue
(
$value
)
{
return
$this
->
parseObjectList
(
$value
,
array
(
PhabricatorPeopleUserPHIDType
::
TYPECONST
,
PhabricatorProjectProjectPHIDType
::
TYPECONST
,
PhabricatorOwnersPackagePHIDType
::
TYPECONST
,
)
)
;
}
public
function
getCustomFieldKey
(
)
{
return
'phabricator:auditors'
;
}
public
function
isFieldEditable
(
)
{
return
true
;
}
public
function
isTemplateField
(
)
{
return
false
;
}
public
function
readFieldValueFromConduit
(
$value
)
{
return
$this
->
readStringListFieldValueFromConduit
(
$value
)
;
}
public
function
renderFieldValue
(
$value
)
{
return
$this
->
renderHandleList
(
$value
)
;
}
protected
function
readFieldValueFromCustomFieldStorage
(
$value
)
{
return
$this
->
readJSONFieldValueFromCustomFieldStorage
(
$value
,
array
(
)
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 21:55 (6 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129152
Default Alt Text
DifferentialAuditorsCommitMessageField.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment