Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108613998
PhabricatorFileTransactionComment.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
Thu, Apr 17, 16:03
Size
647 B
Mime Type
text/x-php
Expires
Sat, Apr 19, 16:03 (7 h, 12 m)
Engine
blob
Format
Raw Data
Handle
25629927
Attached To
rPH Phabricator
PhabricatorFileTransactionComment.php
View Options
<?php
final
class
PhabricatorFileTransactionComment
extends
PhabricatorApplicationTransactionComment
{
public
function
getApplicationTransactionObject
()
{
return
new
PhabricatorFileTransaction
();
}
public
function
shouldUseMarkupCache
(
$field
)
{
// Only cache submitted comments.
return
(
$this
->
getTransactionPHID
()
!=
null
);
}
public
function
getConfiguration
()
{
$config
=
parent
::
getConfiguration
();
$config
[
self
::
CONFIG_KEY_SCHEMA
]
=
array
(
'key_draft'
=>
array
(
'columns'
=>
array
(
'authorPHID'
,
'transactionPHID'
),
),
)
+
$config
[
self
::
CONFIG_KEY_SCHEMA
];
return
$config
;
}
}
Event Timeline
Log In to Comment