Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97970079
PholioMockAuthorHeraldField.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
Wed, Jan 8, 02:49
Size
479 B
Mime Type
text/x-php
Expires
Fri, Jan 10, 02:49 (1 d, 4 h)
Engine
blob
Format
Raw Data
Handle
23467722
Attached To
rPH Phabricator
PholioMockAuthorHeraldField.php
View Options
<?php
final
class
PholioMockAuthorHeraldField
extends
PholioMockHeraldField
{
const
FIELDCONST
=
'pholio.mock.author'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Author'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getAuthorPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID
;
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_USER
;
}
}
Event Timeline
Log In to Comment