Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F68753432
DifferentialTransactionQuery.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
Fri, Jun 28, 19:11
Size
639 B
Mime Type
text/x-php
Expires
Sun, Jun 30, 19:11 (2 d)
Engine
blob
Format
Raw Data
Handle
18628477
Attached To
rPH Phabricator
DifferentialTransactionQuery.php
View Options
<?php
final
class
DifferentialTransactionQuery
extends
PhabricatorApplicationTransactionQuery
{
public
function
getTemplateApplicationTransaction
()
{
return
new
DifferentialTransaction
();
}
public
static
function
loadUnsubmittedInlineComments
(
PhabricatorUser
$viewer
,
DifferentialRevision
$revision
)
{
return
id
(
new
DifferentialDiffInlineCommentQuery
())
->
setViewer
(
$viewer
)
->
withRevisionPHIDs
(
array
(
$revision
->
getPHID
()))
->
withAuthorPHIDs
(
array
(
$viewer
->
getPHID
()))
->
withHasTransaction
(
false
)
->
withIsDeleted
(
false
)
->
needReplyToComments
(
true
)
->
execute
();
}
}
Event Timeline
Log In to Comment