Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93114651
HeraldSpaceField.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, Nov 26, 07:52
Size
682 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 07:52 (2 d)
Engine
blob
Format
Raw Data
Handle
22569804
Attached To
rPH Phabricator
HeraldSpaceField.php
View Options
<?php
final
class
HeraldSpaceField
extends
HeraldField
{
const
FIELDCONST
=
'space'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Space'
);
}
public
function
getFieldGroupKey
()
{
return
HeraldSupportFieldGroup
::
FIELDGROUPKEY
;
}
public
function
supportsObject
(
$object
)
{
return
(
$object
instanceof
PhabricatorSpacesInterface
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
PhabricatorSpacesNamespaceQuery
::
getObjectSpacePHID
(
$object
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorSpacesNamespaceDatasource
();
}
}
Event Timeline
Log In to Comment