Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F67630762
PhabricatorPasteTransactionComment.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, Jun 23, 11:55
Size
677 B
Mime Type
text/x-php
Expires
Tue, Jun 25, 11:55 (2 d)
Engine
blob
Format
Raw Data
Handle
18407209
Attached To
rPH Phabricator
PhabricatorPasteTransactionComment.php
View Options
<?php
final
class
PhabricatorPasteTransactionComment
extends
PhabricatorApplicationTransactionComment
{
protected
$lineNumber
;
protected
$lineLength
;
public
function
getApplicationTransactionObject
()
{
return
new
PhabricatorPasteTransaction
();
}
public
function
shouldUseMarkupCache
(
$field
)
{
// Only cache submitted comments.
return
(
$this
->
getTransactionPHID
()
!=
null
);
}
protected
function
getConfiguration
()
{
$config
=
parent
::
getConfiguration
();
$config
[
self
::
CONFIG_COLUMN_SCHEMA
]
=
array
(
'lineNumber'
=>
'uint32?'
,
'lineLength'
=>
'uint32?'
,
)
+
$config
[
self
::
CONFIG_COLUMN_SCHEMA
];
return
$config
;
}
}
Event Timeline
Log In to Comment