Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92697028
HeraldExactProjectsField.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
Fri, Nov 22, 21:17
Size
680 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 21:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22489593
Attached To
rPH Phabricator
HeraldExactProjectsField.php
View Options
<?php
final
class
HeraldExactProjectsField
extends
HeraldField
{
const
FIELDCONST
=
'projects.exact'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Projects being edited'
);
}
public
function
getFieldGroupKey
()
{
return
PhabricatorProjectHeraldFieldGroup
::
FIELDGROUPKEY
;
}
public
function
supportsObject
(
$object
)
{
return
(
$object
instanceof
PhabricatorProject
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
array
(
$object
->
getPHID
());
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID_LIST
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorProjectDatasource
();
}
}
Event Timeline
Log In to Comment