Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102660381
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
Sat, Feb 22, 23:41
Size
660 B
Mime Type
text/x-php
Expires
Mon, Feb 24, 23:41 (2 d)
Engine
blob
Format
Raw Data
Handle
24342318
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