Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91370489
PhrictionDocumentPathHeraldField.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, Nov 10, 10:46
Size
384 B
Mime Type
text/x-php
Expires
Tue, Nov 12, 10:46 (2 d)
Engine
blob
Format
Raw Data
Handle
22252005
Attached To
rPH Phabricator
PhrictionDocumentPathHeraldField.php
View Options
<?php
final
class
PhrictionDocumentPathHeraldField
extends
PhrictionDocumentHeraldField
{
const
FIELDCONST
=
'path'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Path'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getcontent
()->
getSlug
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_TEXT
;
}
}
Event Timeline
Log In to Comment