Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93909691
DifferentialDiffInlineCommentQuery.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
Mon, Dec 2, 10:49
Size
660 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 10:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22718239
Attached To
rPH Phabricator
DifferentialDiffInlineCommentQuery.php
View Options
<?php
final
class
DifferentialDiffInlineCommentQuery
extends
PhabricatorDiffInlineCommentQuery
{
private
$revisionPHIDs
;
public
function
withRevisionPHIDs
(
array
$phids
)
{
$this
->
revisionPHIDs
=
$phids
;
return
$this
;
}
protected
function
getTemplate
()
{
return
new
DifferentialTransactionComment
();
}
protected
function
buildWhereClauseComponents
(
AphrontDatabaseConnection
$conn_r
)
{
$where
=
parent
::
buildWhereClauseComponents
(
$conn_r
);
if
(
$this
->
revisionPHIDs
!==
null
)
{
$where
[]
=
qsprintf
(
$conn_r
,
'revisionPHID IN (%Ls)'
,
$this
->
revisionPHIDs
);
}
return
$where
;
}
}
Event Timeline
Log In to Comment