Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99205178
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
Wed, Jan 22, 08:50
Size
677 B
Mime Type
text/x-php
Expires
Fri, Jan 24, 08:50 (2 d)
Engine
blob
Format
Raw Data
Handle
23737541
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