Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110594258
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
Sun, Apr 27, 01:42
Size
479 B
Mime Type
text/x-php
Expires
Tue, Apr 29, 01:42 (2 d)
Engine
blob
Format
Raw Data
Handle
25787493
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