Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81397192
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
Thu, Sep 5, 19:32
Size
677 B
Mime Type
text/x-php
Expires
Sat, Sep 7, 19:32 (2 d)
Engine
blob
Format
Raw Data
Handle
20561408
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