Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92698252
PhabricatorUserSinceField.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:35
Size
554 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 21:35 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
22489886
Attached To
rPH Phabricator
PhabricatorUserSinceField.php
View Options
<?php
final
class
PhabricatorUserSinceField
extends
PhabricatorUserCustomField
{
private
$value
;
public
function
getFieldKey
()
{
return
'user:since'
;
}
public
function
getFieldName
()
{
return
pht
(
'User Since'
);
}
public
function
getFieldDescription
()
{
return
pht
(
'Shows user join date.'
);
}
public
function
shouldAppearInPropertyView
()
{
return
true
;
}
public
function
renderPropertyViewValue
()
{
return
phabricator_datetime
(
$this
->
getObject
()->
getDateCreated
(),
$this
->
getViewer
());
}
}
Event Timeline
Log In to Comment